eval.in

Paste #62820

PHP — PHP 5.4.6, pasted 5 months ago

1
2
3
4
<?php
var_dump(cos("wello"));
var_dump(cos("wello" * 1));
?>

Program Output

Warning: cos() expects parameter 1 to be double, string given in /tmp/execpad-ad58e17c8cab/source-ad58e17c8cab on line 2
NULL
float(1)

OK (0.008 sec real, 0.008 sec wall, 13 MB, 44 syscalls)

Fork