3v4l.org

run code in 300+ PHP versions simultaneously
<?php global $aThing; $aThing= [ 'stuff' => 1, 'more_stuff' => 'The night is dark and full of terror', ]; function checkThing($aThing = null) { global $aThing; var_dump($aThing); }

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.0070.00718.28
8.3.50.0120.00317.95
8.3.40.0040.01418.54
8.3.30.0110.00318.45
8.3.20.0070.00020.21
8.3.10.0070.00023.70
8.3.00.0000.00819.43
8.2.180.0090.01218.37
8.2.170.0070.00722.96
8.2.160.0070.00720.36
8.2.150.0060.00324.18
8.2.140.0000.00724.66
8.2.130.0000.00820.23
8.2.120.0050.00326.35
8.2.110.0100.01420.27
8.2.100.0060.00617.78
8.2.90.0030.00917.46
8.2.80.0040.00420.39
8.2.70.0000.00817.93
8.2.60.0040.00417.92
8.2.50.0070.00018.10
8.2.40.0000.00920.47
8.2.30.0110.00019.23
8.2.20.0070.00017.97
8.2.10.0040.00418.02
8.2.00.0040.00418.04
8.1.280.0070.01425.92
8.1.270.0070.00022.07
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00624.00
8.1.230.0080.00320.98
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0090.00017.00
8.1.190.0060.00617.29
8.1.180.0080.00018.10
8.1.170.0040.00418.54
8.1.160.0000.00718.80
8.1.150.0030.00520.27
8.1.140.0020.00517.59
8.1.130.0030.00318.98
8.1.120.0070.00017.39
8.1.110.0000.00717.29
8.1.100.0080.00017.21
8.1.90.0050.00317.29
8.1.80.0070.00017.38
8.1.70.0000.00717.40
8.1.60.0040.00817.39
8.1.50.0050.00317.42
8.1.40.0030.00617.49
8.1.30.0040.00417.59
8.1.20.0040.00417.59
8.1.10.0000.00717.44
8.1.00.0060.00317.27
8.0.300.0000.00820.18
8.0.290.0000.00716.75
8.0.280.0080.00018.43
8.0.270.0020.00517.10
8.0.260.0040.00416.68
8.0.250.0000.00716.85
8.0.240.0030.00716.66
8.0.230.0030.00616.88
8.0.220.0070.00016.75
8.0.210.0070.00016.84
8.0.200.0030.00316.85
8.0.190.0080.00016.87
8.0.180.0040.00416.86
8.0.170.0090.00016.85
8.0.160.0050.00316.80
8.0.150.0030.00316.81
8.0.140.0040.00416.79
8.0.130.0060.00013.25
8.0.120.0020.00516.77
8.0.110.0000.00816.84
8.0.100.0000.00816.67
8.0.90.0000.00716.65
8.0.80.0090.00916.86
8.0.70.0000.00716.64
8.0.60.0040.00416.80
8.0.50.0030.00516.79
8.0.30.0070.01116.92
8.0.20.0110.00817.40
8.0.10.0000.00716.81
8.0.00.0100.01016.66
7.4.330.0000.00515.55
7.4.320.0040.00416.43
7.4.300.0000.00616.44
7.4.290.0030.00316.40
7.4.280.0040.00416.40
7.4.270.0030.00316.52
7.4.260.0000.00716.46
7.4.250.0000.00716.48
7.4.240.0000.00716.43
7.4.230.0050.00216.23
7.4.220.0040.00416.40
7.4.210.0100.00516.38
7.4.200.0000.00716.52
7.4.160.0100.00816.35
7.4.150.0110.00617.40
7.4.140.0150.00517.86
7.4.130.0130.00716.40
7.4.120.0110.00916.36
7.4.110.0060.01016.41
7.4.100.0140.00316.48
7.4.90.0070.01116.33
7.4.80.0090.01219.39
7.4.70.0070.01716.31
7.4.60.0090.00916.29
7.4.50.0060.00616.52
7.4.40.0060.01216.58
7.4.00.0070.01014.91
7.3.330.0000.00712.95
7.3.320.0050.00313.09
7.3.310.0070.00015.98
7.3.300.0030.00316.23
7.3.290.0140.00016.10
7.3.280.0080.01016.11
7.3.270.0060.01117.40
7.3.260.0120.00916.24
7.3.250.0140.00516.39
7.3.240.0090.00816.32
7.3.230.0030.01416.40
7.3.210.0100.00716.17
7.3.200.0040.01216.32
7.3.190.0100.00716.22
7.3.180.0040.01216.34
7.3.170.0130.00216.34
7.3.160.0070.00716.22
7.3.120.0080.01014.68
7.3.110.0090.00714.69
7.3.100.0020.01514.61
7.3.90.0100.00514.65
7.3.80.0080.00614.43
7.3.70.0080.00614.47
7.3.60.0040.00814.74
7.3.50.0030.01114.67
7.3.40.0090.00514.63
7.3.30.0090.00514.70
7.3.20.0030.01116.52
7.3.10.0120.00516.54
7.3.00.0060.00816.51
7.2.330.0070.01016.34
7.2.320.0060.01216.43
7.2.310.0130.00316.52
7.2.300.0110.00716.51
7.2.290.0110.00416.44
7.2.250.0070.01214.85
7.2.240.0100.01014.85
7.2.230.0140.00314.78
7.2.220.0040.01114.91
7.2.210.0010.01014.90
7.2.200.0080.00314.93
7.2.190.0100.00214.61
7.2.180.0060.00914.87
7.2.170.0060.00814.77
7.2.60.0000.01316.60
7.2.20.0180.01517.80
7.2.10.0160.00817.96
7.2.00.0190.01517.74
7.1.330.0080.00615.55
7.1.320.0070.00515.76
7.1.310.0050.00915.46
7.1.300.0060.00515.62
7.1.290.0100.00415.52
7.1.280.0070.00515.74
7.1.270.0040.01215.41
7.1.260.0050.00915.57
7.1.200.0060.00615.41
7.1.140.0190.01016.38
7.1.130.0260.00316.86
7.1.120.0150.01516.48
7.1.110.0320.00616.25
7.1.100.0160.01016.15
7.1.90.0650.01416.23
7.1.80.0080.01616.19
7.1.70.0200.01015.27
7.1.60.0280.01332.88
7.1.50.0300.01032.74
7.1.40.0290.01832.51
7.1.30.0310.00832.57
7.1.20.0340.01532.75
7.1.10.0100.01914.51
7.1.00.0170.00814.67

preferences:
58.3 ms | 400 KiB | 5 Q