3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = microtime(TRUE); usleep(500); echo microtime - $time;
Output for 7.2.0 - 7.2.17, 7.2.20, 7.2.25, 7.3.0 - 7.3.3, 7.3.5 - 7.3.7, 7.3.9, 7.4.0
Warning: Use of undefined constant microtime - assumed 'microtime' (this will throw an Error in a future version of PHP) in /in/IkKPc on line 7 Warning: A non-numeric value encountered in /in/IkKPc on line 7 -1499148638.0001
Output for 7.2.18 - 7.2.19, 7.2.21 - 7.2.24, 7.3.4, 7.3.8, 7.3.10 - 7.3.12
Warning: Use of undefined constant microtime - assumed 'microtime' (this will throw an Error in a future version of PHP) in /in/IkKPc on line 7 Warning: A non-numeric value encountered in /in/IkKPc on line 7 -1499148638.0002
Output for 7.1.1 - 7.1.29, 7.1.31 - 7.1.33
Notice: Use of undefined constant microtime - assumed 'microtime' in /in/IkKPc on line 7 Warning: A non-numeric value encountered in /in/IkKPc on line 7 -1499148638.0001
Output for 7.1.0, 7.1.30
Notice: Use of undefined constant microtime - assumed 'microtime' in /in/IkKPc on line 7 Warning: A non-numeric value encountered in /in/IkKPc on line 7 -1499148638.0002
Output for 5.6.0 - 5.6.33, 5.6.35 - 5.6.40, 7.0.0 - 7.0.5, 7.0.8 - 7.0.33
Notice: Use of undefined constant microtime - assumed 'microtime' in /in/IkKPc on line 7 -1499148638.0001
Output for 5.6.34, 7.0.6 - 7.0.7
Notice: Use of undefined constant microtime - assumed 'microtime' in /in/IkKPc on line 7 -1499148638.0002

preferences:
144.22 ms | 402 KiB | 154 Q