3v4l.org

run code in 300+ PHP versions simultaneously
<?php $m =microtime()* 1000000; list($usec, $sec) = explode(" ", $m); echo $m; echo $usec; echo $sec;
Output for 7.2.6
Notice: A non well formed numeric value encountered in /in/CeWV3 on line 2 Notice: Undefined offset: 1 in /in/CeWV3 on line 3 35493549
Output for 7.2.0
Notice: A non well formed numeric value encountered in /in/CeWV3 on line 2 Notice: Undefined offset: 1 in /in/CeWV3 on line 3 33353335
Output for 7.1.10
Notice: A non well formed numeric value encountered in /in/CeWV3 on line 2 Notice: Undefined offset: 1 in /in/CeWV3 on line 3 39773977
Output for 7.1.7
Notice: A non well formed numeric value encountered in /in/CeWV3 on line 2 Notice: Undefined offset: 1 in /in/CeWV3 on line 3 46504650
Output for 7.1.6
Notice: A non well formed numeric value encountered in /in/CeWV3 on line 2 Notice: Undefined offset: 1 in /in/CeWV3 on line 3 2049220492
Output for 7.1.5
Notice: A non well formed numeric value encountered in /in/CeWV3 on line 2 Notice: Undefined offset: 1 in /in/CeWV3 on line 3 1758517585
Output for 7.1.4
Notice: A non well formed numeric value encountered in /in/CeWV3 on line 2 Notice: Undefined offset: 1 in /in/CeWV3 on line 3 2480624806
Output for 7.1.3
Notice: A non well formed numeric value encountered in /in/CeWV3 on line 2 Notice: Undefined offset: 1 in /in/CeWV3 on line 3 2881728817
Output for 7.1.2
Notice: A non well formed numeric value encountered in /in/CeWV3 on line 2 Notice: Undefined offset: 1 in /in/CeWV3 on line 3 1740817408
Output for 7.1.1
Notice: A non well formed numeric value encountered in /in/CeWV3 on line 2 Notice: Undefined offset: 1 in /in/CeWV3 on line 3 80908090
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/CeWV3 on line 2 Notice: Undefined offset: 1 in /in/CeWV3 on line 3 50855085
Output for 7.0.20
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 49014901
Output for 7.0.19
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 1076610766
Output for 7.0.18
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 63606360
Output for 7.0.17
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 68326832
Output for 7.0.16
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 54925492
Output for 7.0.15
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 90729072
Output for 7.0.14
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 57075707
Output for 7.0.13
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 48394839
Output for 7.0.12
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 51405140
Output for 7.0.11
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 53535353
Output for 7.0.10
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 48944894
Output for 7.0.9
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 58335833
Output for 7.0.8
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 99049904
Output for 7.0.7
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 51465146
Output for 7.0.6
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 68456845
Output for 7.0.5
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 56115611
Output for 7.0.4
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 65146514
Output for 7.0.3
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 62476247
Output for 7.0.2
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 57575757
Output for 7.0.1
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 50885088
Output for 7.0.0
Notice: Undefined offset: 1 in /in/CeWV3 on line 3 55335533

preferences:
67.46 ms | 401 KiB | 37 Q