3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php declare(strict_types=1); mktime("1","23","30"); // note the whitespace mktime("1 ","23","30");
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught TypeError: mktime() expects parameter 1 to be integer, string given in /in/8ShPJ:3 Stack trace: #0 /in/8ShPJ(3): mktime('1', '23', '30') #1 {main} thrown in /in/8ShPJ on line 3
Process exited with code 255.
Output for 5.3.21 - 5.6.28
Warning: Unsupported declare 'strict_types' in /in/8ShPJ on line 2 Notice: A non well formed numeric value encountered in /in/8ShPJ on line 6