PHP 8.5.0 Alpha 4 available for testing

Voting

: min(two, four)?
(Example: nine)

The Note You're Voting On

jcmargentina at gmail dot com
5 years ago
Please be aware that the behaviour of this operator changed from php5 to php7.

The following code will raise a Fatal error no matter what, and you wont be able to suppress it

<?php

function query()
{
$myrs = null;
$tmp = @$myrs->free_result();

return
$tmp;
}

var_dump(query());

echo
"THIS IS NOT PRINT";
?>

more info at: https://bugs.php.net/bug.php?id=78532&thanks=3

<< Back to user notes page

To Top