3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! for ($startTimeMs = currentTimeMs(), $i = 0; $i < 100; $i++) { //usleep(1); echo (currentTimeMs() - $startTimeMs) . ' '; } function currentTimeMs() { return round(microtime(true) * 1000000); }

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.3.120.0060.00915.02
7.3.110.0090.00614.83
7.3.100.0060.00914.89
7.3.90.0120.00314.57
7.3.80.0000.01314.87
7.3.70.0040.01114.86
7.3.60.0040.01114.96
7.3.50.0030.01014.90
7.3.40.0100.00314.62
7.3.30.0100.00314.78
7.3.20.0060.00916.66
7.3.10.0080.00616.64
7.3.00.0120.00316.71
7.2.240.0060.01215.02
7.2.230.0040.01115.08
7.2.220.0100.00615.10
7.2.210.0070.00315.06
7.2.200.0150.00015.06
7.2.190.0070.00715.07
7.2.180.0040.00814.82
7.2.170.0030.00915.21
7.2.160.0060.00314.98
7.2.150.0070.00316.98
7.2.140.0000.01416.93
7.2.130.0100.00616.59
7.2.120.0060.00917.03
7.2.110.0130.00316.90
7.2.100.0090.00616.85
7.2.90.0040.01116.79
7.2.80.0070.01016.95
7.2.70.0030.01516.79
7.2.60.0160.00016.98
7.2.50.0030.01216.64
7.2.40.0040.01516.96
7.2.30.0070.01016.66
7.2.20.0070.01016.93
7.2.10.0100.00617.02
7.2.00.0090.00418.17
7.1.330.0100.00315.75
7.1.320.0000.01115.77
7.1.310.0040.01115.67
7.1.300.0100.00615.74
7.1.290.0060.00915.58
7.1.280.0090.00615.86
7.1.270.0040.01115.73
7.1.260.0060.01015.77
7.1.250.0040.00815.79
7.1.70.0070.00417.18
7.1.60.0060.01919.40
7.1.50.0040.01416.64
7.1.00.0000.07322.38
7.0.200.0000.01016.84
7.0.140.0130.06722.09
7.0.120.0070.07322.16
7.0.110.0070.08020.09
7.0.100.0030.06019.93
7.0.90.0030.06719.97
7.0.80.0070.06019.92
7.0.70.0200.06719.89
7.0.60.0030.06719.93
7.0.50.0070.08319.94
7.0.40.0100.07319.68
7.0.30.0130.03319.81
7.0.20.0070.03719.84
7.0.10.0030.04019.64
7.0.00.0000.04319.74
5.6.280.0100.06721.13
5.6.260.0070.03720.61
5.6.250.0070.06320.59
5.6.240.0000.06320.58
5.6.230.0100.04020.47
5.6.220.0000.04320.68
5.6.210.0100.07720.40
5.6.200.0070.06320.63
5.6.190.0000.06020.66
5.6.180.0100.03720.60
5.6.170.0000.04020.56
5.6.160.0030.04020.56
5.6.150.0100.08720.63
5.6.140.0130.04020.56
5.6.130.0030.04720.70
5.6.120.0000.04320.46
5.6.110.0000.04720.67
5.6.100.0070.07320.63
5.6.90.0070.07320.69
5.6.80.0130.03019.86
5.6.70.0170.02319.96
5.6.60.0070.03720.05
5.6.50.0030.06020.24
5.6.40.0070.05720.02
5.6.30.0070.03720.00
5.6.20.0070.05019.89
5.6.10.0070.04019.95
5.6.00.0030.03720.02
5.5.380.0070.03717.72
5.5.370.0030.05017.73
5.5.360.0030.06017.68
5.5.350.0030.06717.75
5.5.340.0070.07318.10
5.5.330.0070.05018.09
5.5.320.0030.05717.91
5.5.310.0130.03018.12
5.5.300.0200.02017.91
5.5.290.0030.08718.22
5.5.280.0030.08317.93
5.5.270.0130.07317.84
5.5.260.0000.07017.92
5.5.250.0000.04317.91
5.5.240.0100.08017.22
5.5.230.0030.03717.46
5.5.220.0070.03317.61
5.5.210.0030.03717.60
5.5.200.0170.02317.29
5.5.190.0100.03017.45
5.5.180.0030.05317.18
5.5.160.0000.03317.57
5.5.150.0000.04317.18
5.5.140.0030.05717.29
5.5.130.0070.07317.48
5.5.120.0100.06717.18
5.5.110.0100.03717.60
5.5.100.0030.03717.18
5.5.90.0070.03317.34
5.5.80.0070.03717.16
5.5.70.0030.07017.16
5.5.60.0000.04717.19
5.5.50.0100.05017.17
5.5.40.0030.06017.37
5.5.30.0070.03317.19
5.5.20.0100.04317.32
5.5.10.0070.03317.38
5.5.00.0000.08317.46
5.4.450.0000.04319.39
5.4.440.0000.07719.40
5.4.430.0100.05719.56
5.4.420.0030.03719.63
5.4.410.0070.04019.24
5.4.400.0070.03319.14
5.4.390.0030.03719.02
5.4.380.0000.04719.25
5.4.370.0030.03719.16
5.4.360.0000.04019.01
5.4.350.0000.06019.06
5.4.340.0070.03719.24
5.4.320.0070.03719.25
5.4.310.0030.04319.10
5.4.300.0070.08019.33
5.4.290.0070.05719.04
5.4.280.0000.04319.14
5.4.270.0070.03319.01
5.4.260.0070.04719.02
5.4.250.0000.07019.35
5.4.240.0100.05019.08
5.4.230.0130.05719.17
5.4.220.0030.04719.06
5.4.210.0100.07019.25
5.4.200.0000.08319.21
5.4.190.0100.07719.04
5.4.180.0030.07719.14
5.4.170.0070.04319.33
5.4.160.0070.05319.16
5.4.150.0030.03719.20
5.4.140.0030.06016.42
5.4.130.0070.05716.53
5.4.120.0030.03316.44
5.4.110.0070.06016.65
5.4.100.0030.03316.57
5.4.90.0030.06016.48
5.4.80.0070.03016.52
5.4.70.0100.06716.45
5.4.60.0100.05716.54
5.4.50.0030.03316.56
5.4.40.0000.05716.64
5.4.30.0070.03016.45
5.4.20.0030.03316.51
5.4.10.0030.04716.35
5.4.00.0070.04315.90
5.3.290.0100.08314.85
5.3.280.0100.07714.57
5.3.270.0070.06714.75
5.3.260.0000.04014.56
5.3.250.0030.05314.66
5.3.240.0030.03714.80
5.3.230.0030.03314.60
5.3.220.0030.03714.61
5.3.210.0070.05714.52
5.3.200.0130.02714.70
5.3.190.0030.03714.79
5.3.180.0030.03714.70
5.3.170.0030.06314.78
5.3.160.0070.03014.57
5.3.150.0130.03714.63
5.3.140.0070.04014.47
5.3.130.0030.07014.63
5.3.120.0030.04314.75
5.3.110.0100.05714.54
5.3.100.0030.03714.17
5.3.90.0000.03714.02
5.3.80.0030.03714.09
5.3.70.0070.03314.22
5.3.60.0100.04314.04
5.3.50.0030.06013.95
5.3.40.0100.06714.01
5.3.30.0030.04713.91
5.3.20.0070.07313.91
5.3.10.0030.03713.79
5.3.00.0100.07013.63
5.2.170.0000.04012.07
5.2.160.0100.03012.07
5.2.150.0070.04012.07
5.2.140.0070.02712.07
5.2.130.0000.06712.07
5.2.120.0000.03012.07
5.2.110.0030.03012.07
5.2.100.0030.05712.07
5.2.90.0000.03712.07
5.2.80.0030.03012.07
5.2.70.0100.02712.07
5.2.60.0100.04012.07
5.2.50.0030.04312.07
5.2.40.0030.03012.07
5.2.30.0030.03712.07
5.2.20.0030.04012.07
5.2.10.0030.03012.07
5.2.00.0000.03012.07
5.1.60.0000.02712.07
5.1.50.0030.02712.07
5.1.40.0030.02312.07
5.1.30.0000.02712.07
5.1.20.0030.05712.07
5.1.10.0030.02312.07
5.1.00.0030.02712.07
5.0.50.0030.03312.07
5.0.40.0000.03012.07
5.0.30.0000.04712.07
5.0.20.0070.02012.07
5.0.10.0070.01312.07
5.0.00.0000.02712.07
4.4.90.0000.02712.07
4.4.80.0030.01312.07
4.4.70.0000.02012.07
4.4.60.0000.01712.07
4.4.50.0000.01712.07
4.4.40.0030.02012.07
4.4.30.0000.01312.07
4.4.20.0000.03012.07
4.4.10.0030.01312.07
4.4.00.0000.05312.07
4.3.110.0030.02312.07
4.3.100.0000.01312.07
4.3.90.0000.01312.07
4.3.80.0000.02312.07
4.3.70.0030.01312.07
4.3.60.0000.01712.07
4.3.50.0030.01312.07
4.3.40.0000.02312.07
4.3.30.0000.01712.07
4.3.20.0000.01712.07
4.3.10.0000.01312.07
4.3.00.0000.01312.07

preferences:
18.01 ms | 406 KiB | 5 Q