3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test{ function test1(){ test3(); } function test2(){ function test3(){ echo "123"; } test3(); } function test4(){ test3(); } } $test = new Test; $test->test1(); // Генерирует ошибку вида PHP Fatal error: Call to undefined function test3() $test->test2(); $test->test4(); test3();

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.0000.01416.75
8.3.50.0060.01521.03
8.3.40.0130.00718.97
8.3.30.0070.01018.70
8.3.20.0000.00720.16
8.3.10.0080.00023.48
8.3.00.0060.00319.56
8.2.180.0030.01218.43
8.2.170.0120.00322.96
8.2.160.0070.00720.43
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00317.63
8.2.110.0060.00322.20
8.2.100.0070.00417.91
8.2.90.0030.00619.11
8.2.80.0030.00617.97
8.2.70.0040.00417.50
8.2.60.0110.00017.91
8.2.50.0000.00818.07
8.2.40.0040.00419.37
8.2.30.0000.01017.97
8.2.20.0040.00417.67
8.2.10.0040.00417.88
8.2.00.0020.00517.93
8.1.280.0140.00725.92
8.1.270.0000.00824.66
8.1.260.0030.00626.35
8.1.250.0080.00028.09
8.1.240.0090.00021.35
8.1.230.0080.00317.45
8.1.220.0040.00417.74
8.1.210.0030.00718.77
8.1.200.0070.00317.22
8.1.190.0000.00817.11
8.1.180.0040.00418.10
8.1.170.0040.00418.52
8.1.160.0040.00421.86
8.1.150.0050.00318.70
8.1.140.0030.00517.29
8.1.130.0000.00717.60
8.1.120.0000.00717.46
8.1.110.0000.00817.29
8.1.100.0000.00817.38
8.1.90.0040.00417.24
8.1.80.0000.00717.33
8.1.70.0000.00717.32
8.1.60.0070.00017.61
8.1.50.0030.00617.42
8.1.40.0000.00817.55
8.1.30.0080.00017.60
8.1.20.0060.00317.71
8.1.10.0040.00417.56
8.1.00.0000.00717.34
8.0.300.0040.00418.77
8.0.290.0030.00616.75
8.0.280.0030.00318.38
8.0.270.0030.00317.13
8.0.260.0070.00017.20
8.0.250.0040.00417.00
8.0.240.0000.00716.96
8.0.230.0030.00516.94
8.0.220.0030.00316.88
8.0.210.0000.00716.86
8.0.200.0000.00616.98
8.0.190.0040.00416.99
8.0.180.0030.00516.93
8.0.170.0040.00416.86
8.0.160.0050.00316.81
8.0.150.0040.00416.93
8.0.140.0040.00416.82
8.0.130.0080.00013.36
8.0.120.0040.00416.75
8.0.110.0030.00516.86
8.0.100.0030.00516.67
8.0.90.0000.00816.91
8.0.80.0090.00616.82
8.0.70.0040.00416.80
8.0.60.0000.00716.89
8.0.50.0000.00716.95
8.0.30.0100.00816.96
8.0.20.0110.00817.40
8.0.10.0030.00616.89
8.0.00.0080.01216.69
7.4.330.0030.00315.09
7.4.320.0000.00616.46
7.4.300.0040.00416.41
7.4.290.0030.00316.61
7.4.280.0000.00716.52
7.4.270.0000.00716.52
7.4.260.0070.00016.60
7.4.250.0000.00716.58
7.4.240.0000.00716.52
7.4.230.0000.00716.63
7.4.220.0030.01716.63
7.4.210.0080.00516.42
7.4.200.0040.00416.40
7.4.160.0100.00516.49
7.4.150.0160.00317.40
7.4.140.0100.00917.86
7.4.130.0150.00516.55
7.4.120.0140.00516.67
7.4.110.0100.00716.38
7.4.100.0190.00616.50
7.4.90.0070.01016.61
7.4.80.0070.01119.39
7.4.70.0120.01216.36
7.4.60.0080.00816.47
7.4.50.0030.00616.52
7.4.40.0120.00516.35
7.4.30.0060.01616.48
7.4.00.0060.00914.86
7.3.330.0030.00313.36
7.3.320.0050.00013.32
7.3.310.0000.00716.25
7.3.300.0000.00716.27
7.3.290.0060.01216.32
7.3.280.0110.00716.34
7.3.270.0120.00617.40
7.3.260.0030.01416.61
7.3.250.0090.00916.44
7.3.240.0120.00616.46
7.3.230.0100.00716.52
7.3.210.0060.01216.43
7.3.200.0150.00716.41
7.3.190.0070.01116.48
7.3.180.0030.01416.44
7.3.170.0060.00916.27
7.3.160.0170.00316.30
7.2.330.0100.00716.26
7.2.320.0100.00716.37
7.2.310.0070.01116.75
7.2.300.0030.01316.50
7.2.290.0060.01516.52
7.2.60.0000.01416.94
7.2.00.0080.00819.14
7.1.200.0030.01015.62
7.1.100.0000.01018.04
7.1.70.0100.00616.63
7.1.60.0130.00719.12
7.1.50.0090.00916.85
7.1.00.0000.07722.45
7.0.200.0080.00316.74
7.0.60.0030.04020.02
7.0.50.0030.06717.98
7.0.40.0030.05020.29
7.0.30.0670.06320.34
7.0.20.0370.06720.30
7.0.10.0000.04320.16
7.0.00.0230.04320.15
5.6.280.0030.03321.10
5.6.210.0030.07720.73
5.6.200.0030.04318.14
5.6.190.0130.08020.55
5.6.180.0200.04020.52
5.6.170.0230.06720.62
5.6.160.0030.05320.44
5.6.150.0130.06718.19
5.6.140.0070.06718.15
5.6.130.0130.06718.17
5.6.120.0070.08721.15
5.6.110.0170.06721.15
5.6.100.0030.07321.05
5.6.90.0070.08721.01
5.6.80.0070.07720.39
5.6.70.3170.03320.43
5.5.350.0030.08320.31
5.5.340.0030.05017.92
5.5.330.0070.04320.41
5.5.320.0030.07020.51
5.5.310.0200.05320.24
5.5.300.0030.06718.08
5.5.290.0030.08318.08
5.5.280.0070.05720.78
5.5.270.0030.07020.96
5.5.260.0070.08320.65
5.5.250.0130.07720.59
5.5.240.0300.06320.16
5.4.450.0130.06019.48
5.4.440.0270.04719.20
5.4.430.0130.05719.57
5.4.420.0500.06319.62
5.4.410.0770.05719.04
5.4.400.1030.05319.27
5.4.390.0970.05719.26
5.4.380.0970.04719.32
5.4.370.0770.06019.02
5.4.360.0600.06019.01
5.4.350.0670.05719.15
5.4.340.0600.06019.32
5.4.320.0800.05018.84
5.4.310.0900.05319.32
5.4.300.0700.04718.83
5.4.290.0870.04719.32
5.4.280.0830.05719.01
5.4.270.0870.05319.01
5.4.260.0830.05319.25
5.4.250.0870.05318.97
5.4.240.0570.06719.22
5.4.230.0670.05319.24
5.4.220.1070.05019.10
5.4.210.0770.06319.13
5.4.200.0670.06018.80
5.4.190.0770.04719.27
5.4.180.1000.04319.05
5.4.170.0700.06319.14
5.4.160.0630.05719.13
5.4.150.0700.05319.29
5.4.140.0630.05716.35
5.4.130.0670.04716.34
5.4.120.0830.06316.53
5.4.110.0730.05016.33
5.4.100.0800.04716.30
5.4.90.0770.05016.48
5.4.80.0630.05016.31
5.4.70.0170.04016.49
5.4.60.0230.03016.52
5.4.50.0100.06316.42
5.4.40.0100.03716.51
5.4.30.0000.04316.51
5.4.20.0000.07316.44

preferences:
53.95 ms | 401 KiB | 5 Q