3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = microtime(true); sleep(2); $calculated = microtime(true) - $start; echo "time_here: " . $calculated . "\n"; ?> # result: 1.9073486328125E-6

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.00.0080.00814.89
7.3.120.0070.01014.96
7.3.110.0090.00915.07
7.3.100.0060.01114.76
7.3.90.0050.01114.82
7.3.80.0070.01014.66
7.3.70.0100.00814.82
7.3.60.0070.01114.61
7.3.50.0070.01014.82
7.3.40.0090.00814.70
7.3.30.0080.00914.84
7.3.20.0070.01116.68
7.3.10.0060.01016.62
7.3.00.0050.01216.73
7.2.250.0050.01215.02
7.2.240.0090.00615.09
7.2.230.0090.00714.88
7.2.220.0030.01415.08
7.2.210.0060.01115.11
7.2.200.0090.00915.07
7.2.190.0090.01015.07
7.2.180.0060.00915.13
7.2.170.0050.01214.97
7.2.160.0110.00815.07
7.2.150.0100.00616.83
7.2.140.0060.01116.65
7.2.130.0110.00717.00
7.2.120.0050.01217.13
7.2.110.0060.01216.84
7.2.100.0070.00916.87
7.2.90.0070.01316.97
7.2.80.0090.01016.89
7.2.70.0150.00516.78
7.2.60.0060.00916.84
7.2.50.0110.00616.95
7.2.40.0040.01216.88
7.2.30.0100.00816.92
7.2.20.0080.01016.86
7.2.10.0060.01116.87
7.2.00.0080.01017.70
7.1.330.0050.01215.84
7.1.320.0070.00915.71
7.1.310.0130.00315.72
7.1.300.0060.01215.43
7.1.290.0070.01015.57
7.1.280.0100.00515.66
7.1.270.0070.00815.56
7.1.260.0090.00815.63
7.1.250.0020.01215.56
7.1.240.0090.00915.52
7.1.230.0000.01615.80
7.1.220.0090.00615.89
7.1.210.0080.00715.64
7.1.200.0030.01415.72
7.1.190.0090.00915.50
7.1.180.0100.00615.81
7.1.170.0110.00815.38
7.1.160.0090.00915.71
7.1.150.0070.01015.54
7.1.140.0060.00915.88
7.1.130.0030.01215.82
7.1.120.0030.01315.86
7.1.110.0000.01915.86
7.1.100.0090.00716.86
7.1.90.0130.00715.51
7.1.80.0080.01215.75
7.1.70.0020.01216.49
7.1.60.0290.01024.60
7.1.50.0250.01024.45
7.1.40.0280.00724.02
7.1.30.0300.01323.96
7.1.20.0520.01224.17
7.1.10.0180.01015.28
7.1.00.0200.01015.22
7.0.330.0000.01515.38
7.0.320.0070.01015.27
7.0.310.0070.01115.56
7.0.300.0140.00315.44
7.0.290.0100.00715.20
7.0.280.0120.00615.43
7.0.270.0030.01315.08
7.0.260.0060.01015.23
7.0.250.0060.00915.11
7.0.240.0120.00315.41
7.0.230.0070.01015.20
7.0.220.0100.00715.51
7.0.210.0070.01115.27
7.0.200.0250.00315.30
7.0.190.0180.01115.00
7.0.180.0220.00814.81
7.0.170.0240.01114.79
7.0.160.0170.01214.74
7.0.150.0170.01114.85
7.0.140.0240.01114.87
7.0.130.0240.00514.97
7.0.120.0200.01014.96
7.0.110.0120.01115.05
7.0.100.0200.00915.00
7.0.90.0170.01214.92
7.0.80.0240.00814.89
7.0.70.0200.01114.82
7.0.60.0090.00514.59
7.0.50.0250.00715.08
7.0.40.0220.01114.04
7.0.30.0250.00913.87
7.0.20.0290.00514.02
7.0.10.0280.00614.12
7.0.00.0280.01013.84
5.6.400.0090.00914.53
5.6.390.0040.01113.93
5.6.380.0100.01014.42
5.6.370.0120.00414.21
5.6.360.0060.01214.10
5.6.350.0100.00714.45
5.6.340.0070.01014.14
5.6.330.0040.01414.33
5.6.320.0130.00614.45
5.6.310.0030.01614.28
5.6.300.0100.00614.15
5.6.290.0040.01414.40
5.6.280.0150.00314.01
5.6.270.0030.01414.70
5.6.260.0090.00914.35
5.6.250.0070.01014.36
5.6.240.0030.01414.24
5.6.230.0080.00814.18
5.6.220.0120.00614.50
5.6.210.0120.00614.43
5.6.200.0000.01614.30
5.6.190.0070.01014.36
5.6.180.0070.01014.06
5.6.170.0060.01014.38
5.6.160.0000.01314.40
5.6.150.0060.00914.29
5.6.140.0100.01014.13
5.6.130.0060.01214.09
5.6.120.0060.01314.14
5.6.110.0080.00814.29
5.6.100.0040.01114.32
5.6.90.0100.01014.37
5.6.80.0060.01314.00
5.6.70.0070.01314.24
5.6.60.0110.00714.17
5.6.50.0060.01214.20
5.6.40.0070.01014.14
5.6.30.0000.01714.13
5.6.20.0130.00714.13
5.6.10.0030.01314.02
5.6.00.0000.01814.09

preferences:
28.89 ms | 401 KiB | 5 Q