3v4l.org

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

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.0110.01015.05
7.4.00.0050.01515.12
7.3.130.0090.00914.71
7.3.120.0130.00714.78
7.3.110.0090.01114.84
7.3.100.0080.00814.80
7.3.90.0070.01014.74
7.3.80.0080.00714.63
7.3.70.0050.01114.60
7.3.60.0060.01314.74
7.3.50.0070.01014.71
7.3.40.0060.01114.68
7.3.30.0100.00714.75
7.3.20.0050.01216.66
7.3.10.0110.00916.68
7.3.00.0060.01316.53
7.2.260.0110.00715.01
7.2.250.0060.01214.98
7.2.240.0090.00715.05
7.2.230.0070.01015.09
7.2.220.0090.00814.87
7.2.210.0080.01314.88
7.2.200.0060.01314.87
7.2.190.0090.00914.98
7.2.180.0100.00514.97
7.2.170.0100.00714.83
7.2.160.0080.01015.02
7.2.150.0050.01416.59
7.2.140.0080.00916.66
7.2.130.0080.01016.73
7.2.120.0100.00916.86
7.2.110.0060.01316.86
7.2.100.0100.00716.84
7.2.90.0050.01416.84
7.2.80.0060.01016.74
7.2.70.0150.00216.76
7.2.60.0050.01216.87
7.2.50.0080.01016.76
7.2.40.0100.01016.75
7.2.30.0070.01216.68
7.2.20.0160.01117.16
7.2.10.0150.01017.19
7.2.00.0130.00817.12
7.1.330.0070.01015.59
7.1.320.0050.01015.72
7.1.310.0110.00515.65
7.1.300.0040.00915.67
7.1.290.0080.01015.74
7.1.280.0060.01215.80
7.1.270.0060.00915.73
7.1.260.0050.01015.63
7.1.250.0110.00615.74
7.1.240.0040.01515.82
7.1.230.0050.01215.79
7.1.220.0030.01215.56
7.1.210.0080.00915.65
7.1.200.0050.01215.73
7.1.190.0040.01415.70
7.1.180.0060.01115.78
7.1.170.0070.01215.72
7.1.160.0100.00815.54
7.1.150.0080.01115.66
7.1.140.0100.01115.97
7.1.130.0100.00916.13
7.1.120.0080.01316.02
7.1.110.0090.01215.92
7.1.100.0100.01415.83
7.1.90.0100.01115.96
7.1.80.0140.00915.80
7.1.70.0080.01215.51
7.1.60.0130.01221.50
7.1.50.0160.01021.49
7.1.40.0170.01021.28
7.1.30.0210.01121.34
7.1.20.0340.00921.47
7.1.10.0130.01415.29
7.1.00.0110.00915.33
7.0.330.0070.00815.35
7.0.320.0070.01015.37
7.0.310.0060.00915.31
7.0.300.0030.01215.38
7.0.290.0090.00715.49
7.0.280.0090.00815.32
7.0.270.0050.01115.44
7.0.260.0060.00915.43
7.0.250.0070.00815.32
7.0.240.0080.00915.30
7.0.230.0130.00315.54
7.0.220.0080.00815.32
7.0.210.0080.00815.32
7.0.200.0090.00915.46
7.0.190.0100.00715.52
7.0.180.0050.01015.44
7.0.170.0100.00615.45
7.0.160.0050.01115.39
7.0.150.0060.01115.46
7.0.140.0060.00915.57
7.0.130.0060.01115.23
7.0.120.0110.00315.56
7.0.110.0030.01315.31
7.0.100.0090.00715.48
7.0.90.0070.01015.24
7.0.80.0050.01415.24
7.0.70.0060.01115.54
7.0.60.0110.00515.30
7.0.50.0050.01215.54
7.0.40.0060.01013.52
7.0.30.0080.00913.44
7.0.20.0060.01113.48
7.0.10.0110.00513.40
7.0.00.0050.01313.61
5.6.400.0060.01314.30
5.6.390.0060.01214.29
5.6.380.0020.01414.05
5.6.370.0070.01014.24
5.6.360.0090.00914.07
5.6.350.0080.01014.33
5.6.340.0100.00614.28
5.6.330.0060.01314.41
5.6.320.0070.01014.37
5.6.310.0070.01114.41
5.6.300.0100.01014.00
5.6.290.0100.00714.38
5.6.280.0020.01814.35
5.6.270.0100.00814.33
5.6.260.0100.00814.46
5.6.250.0030.01514.15
5.6.240.0040.01314.26
5.6.230.0110.00814.17
5.6.220.0070.01214.31
5.6.210.0100.00614.18
5.6.200.0090.00914.32
5.6.190.0070.01214.36
5.6.180.0100.00714.20
5.6.170.0100.00814.12
5.6.160.0070.01014.35
5.6.150.0080.01114.18
5.6.140.0090.00914.25
5.6.130.0080.00914.40
5.6.120.0050.01214.08
5.6.110.0080.01014.34
5.6.100.0100.00914.21
5.6.90.0060.01014.17
5.6.80.0130.00514.26
5.6.70.0100.00814.29
5.6.60.0080.01014.08
5.6.50.0020.01514.19
5.6.40.0080.01114.15
5.6.30.0050.01214.08
5.6.20.0110.00614.09
5.6.10.0030.01614.25
5.6.00.0060.01114.30

preferences:
51.83 ms | 1125 KiB | 5 Q