<?php
error_reporting(E_ALL);
$now = new Datetime();
for ($i = 0; $i < 4; $i++)
{
$a = $now->diff($now);
}
$t = 100/5.5;
var_dump($t);
// first running: float(18.181818181818)
// after update page: Warning: Division by zero in G:\www\test.php on line 10
bool(false)
?>
float(18.181818181818183)
Fatal error: Uncaught Error: Call to undefined function bool() in /in/DVe16:17
Stack trace:
#0 {main}
thrown in /in/DVe16 on line 17
Process exited with code 255.
float(18.181818181818)
Fatal error: Uncaught Error: Call to undefined function bool() in /in/DVe16:17
Stack trace:
#0 {main}
thrown in /in/DVe16 on line 17
Process exited with code 255.