3v4l.org

run code in 300+ PHP versions simultaneously
<?php function google($x){function_exists($x)||eval("function $x(\$y){echo \$y;}");$x(strlen($x));} google('bing'); google('bing'); google('google');

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)
8.3.60.0100.01018.43
8.3.50.0160.00621.10
8.3.40.0090.00618.79
8.3.30.0170.00318.79
8.3.20.0060.00320.37
8.3.10.0040.00423.63
8.3.00.0050.00319.81
8.2.180.0070.00718.30
8.2.170.0070.00722.96
8.2.160.0100.00320.52
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0060.00317.63
8.2.110.0070.00322.14
8.2.100.0090.00319.66
8.2.90.0000.00819.16
8.2.80.0000.00817.97
8.2.70.0090.00017.63
8.2.60.0040.00718.05
8.2.50.0030.00618.07
8.2.40.0000.00921.02
8.2.30.0040.00419.96
8.2.20.0000.00717.79
8.2.10.0040.00417.93
8.2.00.0030.00518.17
8.1.280.0140.00725.92
8.1.270.0120.00320.32
8.1.260.0090.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00322.56
8.1.230.0080.00417.42
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0110.00017.35
8.1.190.0030.00617.25
8.1.180.0050.00318.10
8.1.170.0000.00818.52
8.1.160.0000.00722.06
8.1.150.0000.00718.75
8.1.140.0040.00417.39
8.1.130.0030.00317.75
8.1.120.0070.00017.32
8.1.110.0000.00817.38
8.1.100.0000.00817.29
8.1.90.0070.00017.38
8.1.80.0000.00817.29
8.1.70.0000.00717.34
8.1.60.0070.00017.50
8.1.50.0040.00417.52
8.1.40.0000.00717.50
8.1.30.0050.00317.57
8.1.20.0000.00717.63
8.1.10.0060.00317.45
8.1.00.0000.00817.30
8.0.300.0090.00018.77
8.0.290.0000.00716.88
8.0.280.0040.00418.46
8.0.270.0000.00717.26
8.0.260.0060.00317.16
8.0.250.0000.00717.09
8.0.240.0000.00617.07
8.0.230.0030.00416.95
8.0.220.0030.00316.86
8.0.210.0050.00316.98
8.0.200.0060.00317.08
8.0.190.0040.00417.04
8.0.180.0040.00416.96
8.0.170.0030.00616.93
8.0.160.0050.00216.93
8.0.150.0050.00316.94
8.0.140.0070.00016.89
8.0.130.0080.00013.44
8.0.120.0040.00416.84
8.0.110.0080.00016.95
8.0.100.0050.00216.87
8.0.90.0070.00016.96
8.0.80.0080.00516.93
8.0.70.0040.00416.88
8.0.60.0070.00017.00
8.0.50.0000.00716.97
8.0.30.0140.00317.07
8.0.20.0070.01117.40
8.0.10.0030.00517.02
8.0.00.0120.00816.81
7.4.330.0050.00015.16
7.4.320.0000.00616.51
7.4.300.0060.00016.39
7.4.290.0070.00016.55
7.4.280.0040.00416.50
7.4.270.0070.00016.53
7.4.260.0050.00216.35
7.4.250.0030.00316.49
7.4.240.0000.00716.62
7.4.230.0070.00016.52
7.4.220.0140.00616.71
7.4.210.0110.00316.61
7.4.200.0070.00016.58
7.4.160.0030.01216.61
7.4.150.0060.01217.40
7.4.140.0050.01317.86
7.4.130.0090.01116.46
7.4.120.0030.01316.53
7.4.110.0060.01016.30
7.4.100.0100.00716.58
7.4.90.0070.01016.57
7.4.80.0090.00919.39
7.4.70.0130.00316.55
7.4.60.0060.01016.59
7.4.50.0050.00016.52
7.4.40.0060.01516.46
7.4.30.0190.00316.49
7.4.00.0040.01114.98
7.3.330.0000.00613.46
7.3.320.0000.00613.45
7.3.310.0040.00416.30
7.3.300.0030.00316.36
7.3.290.0050.01116.44
7.3.280.0090.00516.48
7.3.270.0130.00417.40
7.3.260.0170.00916.54
7.3.250.0120.00816.44
7.3.240.0070.01116.42
7.3.230.0090.00916.54
7.3.210.0120.00916.22
7.3.200.0120.00616.46
7.3.190.0100.01316.32
7.3.180.0000.01516.48
7.3.170.0090.00616.42
7.3.160.0130.00616.79
7.3.10.0150.00916.42
7.3.00.0140.00716.39
7.2.330.0140.00316.53
7.2.320.0070.01016.45
7.2.310.0080.01216.35
7.2.300.0090.00916.54
7.2.290.0080.01116.81
7.2.130.0340.00416.95
7.2.120.0060.01016.76
7.2.110.0090.00916.90
7.2.100.0100.00716.51
7.2.90.0070.00716.24
7.2.80.0070.00717.01
7.2.70.0110.00716.85
7.2.60.0030.01216.81
7.2.50.0120.00716.73
7.2.40.0100.00716.42
7.2.30.0070.00716.91
7.2.20.0160.00416.36
7.2.10.0110.00716.66
7.2.00.0120.00518.01
7.1.250.0230.00815.74
7.1.200.0060.00615.89
7.1.100.0070.01018.34
7.1.70.0000.00917.22
7.1.60.0060.01919.12
7.1.50.0100.01017.08
7.1.00.0030.07722.27
7.0.200.0070.00716.75
7.0.60.0000.05019.93
7.0.50.0130.06017.86
7.0.40.0070.05720.40
7.0.30.0330.07020.21
7.0.20.0170.04720.06
7.0.10.0100.08020.20
7.0.00.0100.03720.10
5.6.280.0070.07321.13
5.6.210.0130.07020.77
5.6.200.0070.08018.15
5.6.190.0070.04720.59
5.6.180.0400.06720.57
5.6.170.0330.07720.55
5.6.160.0070.04020.54
5.6.150.0100.03318.15
5.6.140.0000.07718.22
5.6.130.0070.06718.17
5.6.120.0070.05321.12
5.6.110.0030.06721.04
5.6.100.0000.04321.11
5.6.90.0070.06721.00
5.6.80.0070.06720.43
5.6.70.0200.07720.38
5.5.350.0300.08020.44
5.5.340.0030.04317.95
5.5.330.0130.04720.43
5.5.320.0000.05720.24
5.5.310.0400.06720.25
5.5.300.0030.04018.08
5.5.290.0130.07318.07
5.5.280.0030.04720.88
5.5.270.0200.05020.87
5.5.260.0030.08320.64
5.5.250.0030.07320.45
5.5.240.0200.06720.16
5.4.450.0700.06319.57
5.4.440.0700.06019.19
5.4.430.0670.06019.46
5.4.420.0730.05319.60
5.4.410.0730.05019.43
5.4.400.0630.04318.86
5.4.390.0200.05319.15
5.4.380.0100.05019.14
5.4.370.0070.05319.01
5.4.360.0700.05319.25
5.4.350.1070.06319.03
5.4.340.0900.05019.16
5.4.320.0930.05019.25
5.4.310.0830.06019.15
5.4.300.0770.04719.36
5.4.290.0670.06019.11
5.4.280.0770.04718.84
5.4.270.0700.05319.24
5.4.260.0700.05319.24
5.4.250.0900.05318.86
5.4.240.0930.05319.13
5.4.230.0930.06019.14
5.4.220.0830.06718.83
5.4.210.0830.05019.20
5.4.200.0400.04019.10
5.4.190.0230.04319.36
5.4.180.0400.05718.95
5.4.170.0970.05319.14
5.4.160.0930.05719.21
5.4.150.0730.05718.86
5.4.140.0670.05316.33
5.4.130.0130.04316.43
5.4.120.0100.04716.33
5.4.110.0730.06016.61
5.4.100.0400.06016.51
5.4.90.0030.05316.57
5.4.80.0100.04716.61
5.4.70.0230.05316.62
5.4.60.0230.04716.56
5.4.50.0100.06316.43
5.4.40.0070.06716.53
5.4.30.0000.06716.16
5.4.20.0000.07316.25

preferences:
75.51 ms | 401 KiB | 5 Q