Answers for "how to type casting and overriding in php"

PHP
0

how to type casting and overriding in php

<?php

   $array = array(
    1    => "a",
    "1"  => "b",
    1.5  => "c",
    true => "d",
);
var_dump($array);

?>
Posted by: Guest on May-05-2022

Browse Popular Code Answers by Language