3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); function test() { global $x; if($x===null) var_dump($x); } 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.3.70.0090.01316.63
8.3.60.0130.00716.75
8.3.50.0110.00717.26
8.3.40.0040.01118.84
8.3.30.0000.01418.50
8.3.20.0080.00020.09
8.3.10.0040.00423.70
8.3.00.0040.00420.96
8.2.180.0090.00618.16
8.2.170.0070.00722.96
8.2.160.0030.01022.13
8.2.150.0000.00824.18
8.2.140.0030.00724.66
8.2.130.0040.00420.52
8.2.120.0000.00726.35
8.2.110.0090.00020.39
8.2.100.0030.00917.66
8.2.90.0080.00018.92
8.2.80.0090.00017.97
8.2.70.0030.00617.50
8.2.60.0040.00417.68
8.2.50.0050.00318.10
8.2.40.0080.00022.34
8.2.30.0000.00720.96
8.2.20.0030.00417.83
8.2.10.0040.00417.92
8.2.00.0000.00817.85
8.1.280.0090.01525.92
8.1.270.0070.00023.92
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00420.90
8.1.230.0040.00819.10
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0060.00317.23
8.1.190.0000.00917.23
8.1.180.0040.00418.10
8.1.170.0030.00618.40
8.1.160.0000.00718.82
8.1.150.0000.00820.48
8.1.140.0040.00419.45
8.1.130.0050.00318.63
8.1.120.0040.00417.32
8.1.110.0040.00417.32
8.1.100.0040.00417.23
8.1.90.0050.00217.21
8.1.80.0050.00217.30
8.1.70.0030.00317.25
8.1.60.0060.00317.38
8.1.50.0040.00417.50
8.1.40.0030.00617.38
8.1.30.0040.00417.58
8.1.20.0000.00717.40
8.1.10.0060.00317.41
8.1.00.0000.00717.36
8.0.300.0060.00318.77
8.0.290.0040.00416.58
8.0.280.0030.00318.31
8.0.270.0040.00417.15
8.0.260.0000.00816.56
8.0.250.0030.00316.69
8.0.240.0070.00016.65
8.0.230.0000.00716.72
8.0.220.0080.00016.65
8.0.210.0000.00716.75
8.0.200.0030.00716.82
8.0.190.0000.00916.70
8.0.180.0040.00416.80
8.0.170.0000.00816.71
8.0.160.0000.00716.75
8.0.150.0050.00316.77
8.0.140.0000.00716.64
8.0.130.0000.00813.24
8.0.120.0090.00016.72
8.0.110.0040.00416.80
8.0.100.0030.00416.79
8.0.90.0080.00016.62
8.0.80.0100.01016.76
8.0.70.0040.00416.71
8.0.60.0000.00716.64
8.0.50.0040.00416.58
8.0.30.0130.00616.94
8.0.20.0080.01017.40
8.0.10.0000.00716.66
8.0.00.0160.00316.66
7.4.330.0000.00615.55
7.4.320.0030.00316.35
7.4.300.0040.00416.44
7.4.290.0000.00716.52
7.4.280.0040.00416.45
7.4.270.0040.00416.54
7.4.260.0000.00816.52
7.4.250.0050.00216.27
7.4.240.0070.00016.50
7.4.230.0070.00016.63
7.4.220.0070.01416.39
7.4.210.0050.01216.51
7.4.200.0000.00716.53
7.4.160.0080.00816.44
7.4.150.0070.01017.40
7.4.140.0120.00817.86
7.4.130.0150.00416.38
7.4.120.0080.01616.50
7.4.110.0060.01216.38
7.4.100.0100.01016.52
7.4.90.0070.01016.48
7.4.80.0100.01019.39
7.4.70.0150.00016.45
7.4.60.0080.00816.39
7.4.50.0070.01116.29
7.4.40.0060.01016.54
7.4.30.0060.01116.43
7.4.00.0120.00614.91
7.3.330.0050.00313.31
7.3.320.0000.00513.27
7.3.310.0050.00216.15
7.3.300.0040.00416.30
7.3.290.0030.00316.29
7.3.280.0080.00816.29
7.3.270.0070.01017.40
7.3.260.0090.00716.18
7.3.250.0160.00816.30
7.3.240.0060.01116.36
7.3.230.0130.00616.58
7.3.210.0100.00716.16
7.3.200.0090.00616.33
7.3.190.0050.01016.57
7.3.180.0060.01316.41
7.3.170.0100.00616.50
7.3.160.0180.00416.45
7.2.330.0100.00716.59
7.2.320.0150.00416.20
7.2.310.0160.00616.72
7.2.300.0000.01716.53
7.2.290.0000.01616.25
7.2.60.0030.01016.50
7.2.00.0040.01119.41
7.1.200.0050.00515.64
7.1.100.0070.01017.80
7.1.70.0090.00617.14
7.1.60.0470.00733.22
7.1.50.0400.01333.09
7.1.40.0500.01032.63
7.1.30.0570.00732.53
7.1.20.0500.01732.48
7.1.10.0300.01014.68
7.1.00.0330.00714.70
7.0.200.0330.00314.96
7.0.190.0300.01014.71
7.0.180.0370.01014.23
7.0.170.0370.00714.36
7.0.160.0430.00714.24
7.0.150.0300.01314.25
7.0.140.1270.00714.42
7.0.130.0370.00714.61
7.0.120.0400.00314.81
7.0.110.0400.00714.34
7.0.100.0370.00714.15
7.0.90.0370.00714.32
7.0.80.0300.01314.35
7.0.70.0330.01014.30
7.0.60.0400.00314.20
7.0.50.0370.01014.69
7.0.40.0330.00714.47
7.0.30.0330.00714.63
7.0.20.0370.00314.66
7.0.10.0370.00714.43
7.0.00.0300.01014.29

preferences:
51.2 ms | 401 KiB | 5 Q