3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { set_error_handler(function ($errno, $errstr, $errfile, $errline, $context = null) { var_dump($context); }); $a = 1; $$a = 2; $x++; // generates error } test();

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.4.130.0110.01017.89
8.4.120.0100.00920.90
8.4.110.0060.00422.71
8.4.100.0100.01017.52
8.4.90.0090.01320.64
8.4.80.0060.00718.91
8.4.70.0060.01020.53
8.4.60.0130.00720.45
8.4.50.0100.00922.17
8.4.40.0030.00517.66
8.4.30.0100.01020.24
8.4.20.0100.01019.62
8.4.10.0030.00620.52
8.3.260.0080.00816.65
8.3.250.0150.00419.03
8.3.240.0090.01017.31
8.3.230.0130.00616.61
8.3.220.0090.00919.13
8.3.210.0080.00816.81
8.3.200.0060.00316.61
8.3.190.0110.01116.93
8.3.180.0090.00519.10
8.3.170.0110.00716.77
8.3.160.0100.00717.04
8.3.150.0080.01217.18
8.3.140.0050.00316.59
8.3.130.0090.00618.64
8.3.120.0140.00420.98
8.3.110.0060.00316.50
8.3.100.0080.01124.06
8.3.90.0040.01426.77
8.3.80.0030.00718.68
8.3.70.0140.00316.60
8.3.60.0110.01116.75
8.3.50.0130.00623.74
8.3.40.0070.00722.03
8.3.30.0110.00418.55
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0040.00426.16
8.2.290.0130.00620.46
8.2.280.0060.00220.11
8.2.270.0100.01017.21
8.2.260.0080.00018.50
8.2.250.0040.00418.67
8.2.240.0150.00019.11
8.2.230.0070.00420.94
8.2.220.0000.00937.54
8.2.210.0050.00326.77
8.2.200.0040.00416.75
8.2.190.0070.01416.63
8.2.180.0120.00625.92
8.2.170.0090.01218.95
8.2.160.0120.00622.96
8.2.150.0090.00025.66
8.2.140.0050.00324.66
8.2.130.0030.00626.16
8.2.120.0040.00419.77
8.2.110.0090.00021.05
8.2.100.0040.00817.84
8.2.90.0090.00017.75
8.2.80.0060.00318.94
8.2.70.0060.00317.93
8.2.60.0000.00818.16
8.2.50.0030.00518.10
8.2.40.0050.00219.30
8.2.30.0050.00219.30
8.2.20.0000.00718.18
8.2.10.0040.00419.40
8.2.00.0050.00319.41
8.1.330.0130.00821.95
8.1.320.0120.00617.94
8.1.310.0040.00416.30
8.1.300.0040.00419.98
8.1.290.0100.00030.84
8.1.280.0100.00725.92
8.1.270.0040.00423.90
8.1.260.0030.00526.35
8.1.250.0000.00728.09
8.1.240.0090.00021.50
8.1.230.0110.00019.04
8.1.220.0080.00018.54
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0030.00518.65
8.1.160.0040.00418.90
8.1.150.0000.00718.90
8.1.140.0030.00918.07
8.1.130.0040.00717.45
8.1.120.0060.00617.50
8.1.110.0070.00517.42
8.1.100.0080.00517.54
8.1.90.0090.00417.49
8.1.80.0090.00417.51
8.1.70.0060.00617.43
8.1.60.0090.00617.56
8.1.50.0100.00417.58
8.1.40.0040.01017.57
8.1.30.0090.00717.71
8.1.20.0090.00617.64
8.1.10.0120.00117.43
8.1.00.0060.00617.52
8.0.300.0030.00319.90
8.0.290.0040.00416.63
8.0.280.0040.00418.36
8.0.270.0090.00916.80
8.0.260.0070.00516.84
8.0.250.0110.00216.93
8.0.240.0030.00816.97
8.0.230.0100.00216.94
8.0.220.0070.00516.86
8.0.210.0080.00416.87
8.0.200.0070.00416.93
8.0.190.0040.00716.91
8.0.180.0090.00516.95
8.0.170.0090.00616.94
8.0.160.0040.00516.90
8.0.150.0070.00616.87
8.0.140.0120.00216.90
8.0.130.0060.00515.12
8.0.120.0110.00316.93
8.0.110.0080.00416.84
8.0.100.0070.00516.88
8.0.90.0070.00516.87
8.0.80.0040.01216.88
8.0.70.0070.00516.84
8.0.60.0080.00316.85
8.0.50.0050.00616.79
8.0.30.0110.00516.98
8.0.20.0080.01017.05
8.0.10.0060.00616.96
8.0.00.0100.00517.88
7.4.330.0040.00315.92
7.4.320.0060.00616.55
7.4.300.0090.00316.48
7.4.290.0060.00616.38
7.4.280.0070.00416.40
7.4.270.0060.00616.48
7.4.260.0080.00414.87
7.4.250.0050.00716.41
7.4.240.0040.00616.54
7.4.230.0130.00116.61
7.4.220.0060.00316.48
7.4.210.0080.00616.52
7.4.200.0060.00616.48
7.4.190.0140.00016.53
7.4.180.0150.00016.41
7.4.160.0070.00716.41
7.4.150.0090.00516.41
7.4.140.0070.00716.33
7.4.130.0100.00716.48
7.4.120.0140.00516.48
7.4.110.0120.00616.45
7.4.100.0090.00716.48
7.4.90.0080.00816.46
7.4.80.0130.00516.46
7.4.70.0130.00316.44
7.4.60.0120.00516.52
7.4.50.0100.00716.36
7.4.40.0080.01016.34
7.4.30.0100.00716.34
7.4.20.0080.00816.46
7.4.10.0080.00916.50
7.4.00.0090.00916.46
7.3.330.0090.00316.35
7.3.320.0080.00314.86
7.3.310.0070.00316.29
7.3.300.0050.00516.38
7.3.290.0070.01016.37
7.3.280.0110.00616.30
7.3.270.0170.00016.30
7.3.260.0090.01016.42
7.3.250.0110.00516.39
7.3.240.0130.00016.41
7.3.230.0140.00516.28
7.3.220.0100.00616.41
7.3.210.0080.00816.37
7.3.200.0090.01016.36
7.3.190.0130.00416.38
7.3.180.0090.00716.31
7.3.170.0120.00516.38
7.3.160.0100.00716.42
7.3.150.0140.00416.44
7.3.140.0080.00816.30
7.3.130.0110.00716.40
7.3.120.0110.00616.40
7.3.110.0110.00616.30
7.3.100.0130.00616.37
7.3.90.0110.00616.46
7.3.80.0110.00716.36
7.3.70.0100.00916.27
7.3.60.0100.00816.35
7.3.50.0090.01016.33
7.3.40.0120.00416.38
7.3.30.0090.00916.37
7.3.20.0100.00916.83
7.3.10.0130.00416.84
7.3.00.0090.01016.95
7.2.340.0120.00616.42
7.2.330.0130.00516.43
7.2.320.0090.00916.29
7.2.310.0120.00516.38
7.2.300.0120.00516.42
7.2.290.0090.00916.49
7.2.280.0060.01216.42
7.2.270.0140.01216.40
7.2.260.0140.00616.33
7.2.250.0130.00516.51
7.2.240.0100.00616.36
7.2.230.0100.00716.55
7.2.220.0130.00516.99
7.2.210.0160.00216.26
7.2.200.0140.00416.33
7.2.190.0040.01316.43
7.2.180.0140.00516.40
7.2.170.0090.00816.46
7.2.160.0080.01016.46
7.2.150.0140.00317.01
7.2.140.0250.00317.08
7.2.130.0240.00716.96
7.2.120.0100.00817.17
7.2.110.0150.00617.17
7.2.100.0100.00817.09
7.2.90.0080.00917.12
7.2.80.0120.00617.12
7.2.70.0110.00917.21
7.2.60.0090.00817.14
7.2.50.0220.01017.11
7.2.40.0100.00717.17
7.2.30.0090.01017.17
7.2.20.0080.01017.18
7.2.10.0090.01117.10
7.2.00.0110.00817.15

preferences:
108.9 ms | 403 KiB | 5 Q