3v4l.org

run code in 300+ PHP versions simultaneously
<?php function microtime_float() { list($usec, $sec) = explode(" ", microtime()); //return ((float)$usec + (float)$sec); return (float)$usec; } echo microtime_float();

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.4.10.0040.01415.13
7.4.00.0070.01015.09
7.3.130.0090.00815.01
7.3.120.0030.01514.94
7.3.110.0060.01014.59
7.3.100.0060.00914.68
7.3.90.0090.00314.56
7.3.80.0030.01014.48
7.3.70.0070.00714.84
7.3.60.0030.01014.84
7.3.50.0000.01214.82
7.3.40.0110.00314.95
7.3.30.0090.00014.57
7.3.20.0130.00016.90
7.3.10.0070.00716.60
7.3.00.0080.00616.73
7.2.260.0060.01315.00
7.2.250.0040.01415.20
7.2.240.0070.00715.14
7.2.230.0110.00314.66
7.2.220.0030.00715.28
7.2.210.0000.01714.81
7.2.200.0070.00814.90
7.2.190.0110.00614.70
7.2.180.0030.00915.00
7.2.170.0090.00614.92
7.2.160.0110.00014.70
7.2.150.0000.01416.95
7.2.140.0060.00616.85
7.2.130.0120.00317.03
7.2.120.0000.01016.97
7.2.110.0060.00916.69
7.2.100.0090.00616.94
7.2.90.0270.00516.64
7.2.80.0050.00916.85
7.2.70.0040.01016.82
7.2.60.0410.00316.79
7.2.50.0240.01015.91
7.2.40.0070.00816.92
7.2.30.0060.01017.01
7.2.20.0100.00617.00
7.2.10.0070.00716.72
7.2.00.0100.00516.93
7.1.330.0040.01115.68
7.1.320.0070.00715.79
7.1.310.0000.01115.71
7.1.300.0100.00015.71
7.1.290.0070.00715.53
7.1.280.0030.00915.75
7.1.270.0060.00615.54
7.1.260.0060.00615.47
7.1.250.0140.00015.77
7.1.240.0090.00015.48
7.1.230.0030.01315.52
7.1.220.0070.01015.62
7.1.210.0240.00814.86
7.1.200.0030.00915.58
7.1.190.0370.00815.85
7.1.180.0020.01015.64
7.1.170.0060.00715.67
7.1.160.0050.00615.82
7.1.150.0070.00815.80
7.1.140.0030.00915.63
7.1.130.0030.00815.71
7.1.120.0050.00615.71
7.1.110.0070.00515.80
7.1.100.0080.00515.71
7.1.90.0230.01014.77
7.1.80.0030.00915.56
7.1.70.0280.00815.69
7.1.60.0380.00824.84
7.1.50.0400.00824.59
7.1.40.0130.01024.68
7.1.30.0370.00624.72
7.1.20.0190.00824.60
7.1.10.0030.01015.71
7.1.00.0050.00715.42
7.0.330.0030.00515.26
7.0.320.0080.00615.39
7.0.310.0020.01015.04
7.0.300.0030.01015.36
7.0.290.0330.00915.14
7.0.280.0070.00715.39
7.0.270.0080.00615.35
7.0.260.0020.01415.48
7.0.250.0110.00315.29
7.0.240.0040.00915.30
7.0.230.0030.00815.45
7.0.220.0070.00515.29
7.0.210.0350.00314.38
7.0.200.0060.00815.48
7.0.190.0310.00815.12
7.0.180.0090.00615.26
7.0.170.0390.00514.23
7.0.160.0050.00715.24
7.0.150.0090.00415.26
7.0.140.0060.00715.36
7.0.130.0040.00915.47
7.0.120.0050.00815.18
7.0.110.0360.00815.27
7.0.100.0050.00715.18
7.0.90.0070.00515.38
7.0.80.0170.00815.22
7.0.70.0030.01215.46
7.0.60.0030.00715.21
7.0.50.0050.00915.30
7.0.40.0090.00714.46
7.0.30.0070.00414.46
7.0.20.0330.01013.41
7.0.10.0050.00614.31
7.0.00.0070.00514.48
5.6.400.0000.00914.35
5.6.390.0100.00614.24
5.6.380.0030.01014.56
5.6.370.0000.01514.42
5.6.360.0090.00314.60
5.6.350.0060.01014.29
5.6.340.0100.00314.46
5.6.330.0060.00614.37
5.6.320.0130.00314.78
5.6.310.0030.00614.17
5.6.300.0060.00814.37
5.6.290.0030.01014.52
5.6.280.0000.01414.31
5.6.270.0060.00314.34
5.6.260.0090.00314.45
5.6.250.0060.00314.26
5.6.240.0110.00014.42
5.6.230.0100.00314.28
5.6.220.0090.00314.36
5.6.210.0000.01414.09
5.6.200.0040.00414.39
5.6.190.0030.00814.34
5.6.180.0070.00314.49
5.6.170.0000.01214.24
5.6.160.0000.00814.16
5.6.150.0060.00314.43
5.6.140.0030.00914.48
5.6.130.0000.01114.42
5.6.120.0060.00614.45
5.6.110.0070.00414.25
5.6.100.0000.01314.32
5.6.90.0030.01314.53
5.6.80.0060.00314.50
5.6.70.0060.00914.28
5.6.60.0090.00614.27
5.6.50.0080.00314.03
5.6.40.0060.00614.12
5.6.30.0000.01114.56
5.6.20.0110.00314.05
5.6.10.0000.01414.43
5.6.00.0080.00414.11

preferences:
40.94 ms | 400 KiB | 5 Q