PHP 8.5.0 Alpha 1 available for testing

Voting

: max(two, two)?
(Example: nine)

The Note You're Voting On

sergli at nigma dot ru
13 years ago
<?php
$a
= array("1");

var_dump(array_fill_keys($a, "test"));
?>

array(1) {
[1]=>
string(4) "test"
}

now string key "1" become an integer value 1, be careful.

<< Back to user notes page

To Top