3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = microtime(true); usleep(1000000); $end = microtime(true) - $start; printf("Page was rendered in %f seconds".PHP_EOL, $end); printf("Page was rendered in %f milliseconds".PHP_EOL, $end*1000); printf("Page was rendered in %f microseconds".PHP_EOL, ($end*1000)*1000);

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.0120.00914.91
7.4.00.0080.00814.93
7.3.130.0070.01114.73
7.3.120.0030.01614.73
7.3.110.0090.00914.89
7.3.100.0090.00614.83
7.3.90.0070.01014.73
7.3.80.0080.00814.65
7.3.70.0080.01214.80
7.3.60.0130.00614.81
7.3.50.0030.01314.63
7.3.40.0120.00614.38
7.3.30.0110.00314.84
7.3.20.0100.00716.81
7.3.10.0100.00716.64
7.3.00.0060.00816.51
7.2.260.0030.01215.09
7.2.250.0070.01414.74
7.2.240.0120.00614.87
7.2.230.0070.01314.96
7.2.220.0030.01314.73
7.2.210.0130.00615.09
7.2.200.0030.01615.13
7.2.190.0040.01115.11
7.2.180.0030.01714.59
7.2.170.0060.01314.73
7.2.160.0030.01714.77
7.2.150.0070.01316.82
7.2.140.0030.01716.73
7.2.130.0120.00416.81
7.2.120.0070.01316.79
7.2.110.0070.01016.48
7.2.100.0130.00716.79
7.2.90.0040.01216.97
7.2.80.0000.01816.74
7.2.70.0080.01116.66
7.2.60.0000.02016.75
7.2.50.0060.01216.90
7.2.40.0020.01816.88
7.2.30.0060.01216.63
7.2.20.0320.01117.56
7.2.10.0150.01017.41
7.2.00.0140.01117.10
7.1.330.0070.01015.84
7.1.320.0070.01015.74
7.1.310.0000.01715.86
7.1.300.0090.00615.71
7.1.290.0070.01115.71
7.1.280.0060.01315.71
7.1.270.0040.01215.74
7.1.260.0040.01415.80
7.1.250.0070.01015.91
7.1.240.0080.00815.56
7.1.230.0000.01915.74
7.1.220.0090.00915.66
7.1.210.0040.01415.71
7.1.200.0070.01015.95
7.1.190.0070.01015.71
7.1.180.0070.01115.70
7.1.170.0040.01515.69
7.1.160.0100.00715.50
7.1.150.0090.00915.88
7.1.140.0190.00816.40
7.1.130.0200.00916.29
7.1.120.0160.01016.18
7.1.110.0230.00715.82
7.1.100.0170.00615.73
7.1.90.0140.01015.89
7.1.80.0140.01415.86
7.1.70.0160.00715.39
7.1.60.0220.01224.43
7.1.50.0710.01524.17
7.1.40.0270.01124.02
7.1.30.0250.00824.21
7.1.20.0230.01224.21
7.1.10.0160.00915.26
7.1.00.0130.01015.26
7.0.330.0100.00715.51
7.0.320.0070.01115.30
7.0.310.0150.00315.57
7.0.300.0000.01815.09
7.0.290.0000.01415.62
7.0.280.0090.00915.34
7.0.270.0060.00915.46
7.0.260.0000.01715.31
7.0.250.0080.00815.43
7.0.240.0000.01815.44
7.0.230.0070.01115.48
7.0.220.0000.01815.39
7.0.210.0060.00915.50
7.0.200.0030.01315.12
7.0.190.0080.00815.45
7.0.180.0070.01115.30
7.0.170.0040.01415.63
7.0.160.0070.01015.15
7.0.150.0130.00315.49
7.0.140.0060.01215.37
7.0.130.0070.01115.30
7.0.120.0140.00315.59
7.0.110.0100.00615.54
7.0.100.0080.00815.48
7.0.90.0040.01415.54
7.0.80.0040.01415.14
7.0.70.0090.00915.25
7.0.60.0160.00015.34
7.0.50.0090.00915.50
7.0.40.0070.01113.38
7.0.30.0030.01413.54
7.0.20.0110.00413.42
7.0.10.0070.01113.21
7.0.00.0070.01013.32
5.6.400.0110.00714.18
5.6.390.0100.01014.25
5.6.380.0090.00614.19
5.6.370.0030.01313.98
5.6.360.0090.00614.16
5.6.350.0000.01714.13
5.6.340.0000.01814.19
5.6.330.0070.01114.25
5.6.320.0000.01814.16
5.6.310.0130.00313.79
5.6.300.0100.01014.03
5.6.290.0040.01514.51
5.6.280.0120.00614.41
5.6.270.0040.01613.95
5.6.260.0030.01614.11
5.6.250.0090.00913.96
5.6.240.0040.01514.36
5.6.230.0060.01014.54
5.6.220.0030.01614.50
5.6.210.0000.01614.38
5.6.200.0040.01514.17
5.6.190.0090.00914.31
5.6.180.0080.00814.19
5.6.170.0070.01014.32
5.6.160.0070.01013.96
5.6.150.0060.01214.08
5.6.140.0070.01014.04
5.6.130.0120.00314.22
5.6.120.0030.01714.08
5.6.110.0060.01313.97
5.6.100.0150.00313.97
5.6.90.0060.01214.32
5.6.80.0100.00714.03
5.6.70.0070.01314.16
5.6.60.0100.01014.01
5.6.50.0160.00314.22
5.6.40.0070.01014.14
5.6.30.0070.01014.27
5.6.20.0100.01014.21
5.6.10.0080.00814.46
5.6.00.0100.00714.07

preferences:
30.64 ms | 403 KiB | 5 Q