3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); phpversion() >= "5.6.0" or die(); $a = 1; unset($a); var_dump(count($GLOBALS), $GLOBALS);

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)
7.4.60.0030.01616.35
7.4.50.0110.00716.51
7.4.40.0040.01516.53
7.4.30.0030.01316.38
7.4.20.0080.01216.54
7.4.10.0090.00916.44
7.4.00.0040.01516.62
7.3.180.0090.00916.31
7.3.170.0140.00416.35
7.3.160.0120.00616.46
7.3.150.0070.01116.13
7.3.140.0120.00616.38
7.3.130.0150.00316.21
7.3.120.0110.00616.41
7.3.110.0070.01016.17
7.3.100.0030.01416.02
7.3.90.0100.00716.21
7.3.80.0130.00316.11
7.3.70.0160.00316.22
7.3.60.0120.00616.16
7.3.50.0140.00316.12
7.3.40.0190.00016.13
7.3.30.0130.00516.30
7.3.20.0000.02416.27
7.3.10.0100.00816.30
7.3.00.0080.01016.21
7.2.310.0090.00916.60
7.2.300.0130.00716.65
7.2.290.0120.00916.50
7.2.280.0080.01116.77
7.2.270.0150.00316.48
7.2.260.0140.01016.69
7.2.250.0090.00916.57
7.2.240.0030.01516.71
7.2.230.0100.00716.60
7.2.220.0120.00616.35
7.2.210.0140.00316.36
7.2.200.0140.00216.66
7.2.190.0110.00816.68
7.2.180.0000.01916.33
7.2.170.0000.01916.39
7.2.160.0140.00616.34
7.2.150.0140.00716.61
7.2.140.0100.01016.77
7.2.130.0190.00016.69
7.2.120.0110.01616.66
7.2.110.0130.00916.71
7.2.100.0130.01016.53
7.2.90.0130.00616.68
7.2.80.0090.00916.29
7.2.70.0180.00016.49
7.2.60.0100.00816.78
7.2.50.0070.01016.40
7.2.40.0110.00716.58
7.2.30.0090.00916.41
7.2.20.0090.00816.41
7.2.10.0060.01216.70
7.2.00.0050.01017.96
7.1.330.0060.01015.31
7.1.320.0080.00815.24
7.1.310.0090.00615.32
7.1.300.0090.00615.21
7.1.290.0140.00415.28
7.1.280.0090.00615.33
7.1.270.0100.00715.40
7.1.260.0100.01015.36
7.1.250.0350.00015.37
7.1.240.0150.00615.09
7.1.230.0120.00415.19
7.1.220.0150.00915.42
7.1.210.0110.00615.43
7.1.200.0050.00715.61
7.1.190.0090.00615.12
7.1.180.0110.00415.23
7.1.170.0090.00615.29
7.1.160.0160.00615.29
7.1.150.0110.00715.36
7.1.140.0030.01315.18
7.1.130.0130.00315.25
7.1.120.0080.00815.31
7.1.110.0030.01315.16
7.1.100.0040.01316.55
7.1.90.0060.01215.19
7.1.80.0090.00915.28
7.1.70.0100.00716.26
7.1.60.0040.01017.35
7.1.50.0200.01025.05
7.1.40.0060.01715.33
7.1.30.0120.00615.34
7.1.20.0090.00915.36
7.1.10.0030.01315.24
7.1.00.0010.04618.77
7.0.330.0040.01414.75
7.0.320.0070.01115.07
7.0.310.0190.00015.08
7.0.300.0060.00915.00
7.0.290.0140.00314.97
7.0.280.0130.00315.01
7.0.270.0040.01114.75
7.0.260.0140.00415.02
7.0.250.0130.00314.90
7.0.240.0120.00615.06
7.0.230.0070.01015.12
7.0.220.0130.00314.86
7.0.210.0370.00915.00
7.0.200.0090.00515.94
7.0.190.0090.01314.96
7.0.180.0170.00015.09
7.0.170.0100.00715.01
7.0.160.0130.00315.14
7.0.150.0110.00815.15
7.0.140.0070.00715.20
7.0.130.0040.01114.92
7.0.120.0090.00615.27
7.0.110.0060.00915.14
7.0.100.0070.01015.01
7.0.90.0130.00515.04
7.0.80.0040.01314.93
7.0.70.0070.01114.96
7.0.60.0100.04517.55
7.0.50.0050.03316.46
7.0.40.0080.02517.76
7.0.30.0250.02417.65
7.0.20.0200.02817.47
7.0.10.0060.04717.49
7.0.00.0110.04517.54
5.6.400.0030.01415.90
5.6.390.0130.00715.80
5.6.380.0110.01115.58
5.6.370.0120.00615.64
5.6.360.0070.01015.74
5.6.350.0070.01115.59
5.6.340.0090.00915.84
5.6.330.0150.00315.65
5.6.320.0120.00615.66
5.6.310.0090.00915.77
5.6.300.0030.01415.89
5.6.290.0070.01015.82
5.6.280.0070.04018.36
5.6.270.0090.00915.55
5.6.260.0000.01815.75
5.6.250.0150.00415.77
5.6.240.0110.00715.73
5.6.230.0070.01015.61
5.6.220.0070.01115.66
5.6.210.0050.04318.15
5.6.200.0020.04516.94
5.6.190.0070.04918.18
5.6.180.0310.03618.04
5.6.170.0160.03318.08
5.6.160.0040.03018.07
5.6.150.0090.04316.90
5.6.140.0100.04316.90
5.6.130.0070.02616.94
5.6.120.0110.04518.39
5.6.110.0050.04818.36
5.6.100.0050.05118.37
5.6.90.0120.03618.32
5.6.80.0070.04317.93
5.6.70.0150.00515.56
5.6.60.0070.01115.65
5.6.50.0030.01415.65
5.6.40.0150.00415.57
5.6.30.0070.01115.57
5.6.20.0090.00915.66
5.6.10.0060.01215.59
5.6.00.0130.00615.82
5.5.380.0070.01015.50
5.5.370.0100.00715.70
5.5.360.0090.00915.60
5.5.350.0160.03818.10
5.5.340.0130.03916.75
5.5.330.0090.02717.94
5.5.320.0230.02917.92
5.5.310.0180.02617.91
5.5.300.0050.02516.77
5.5.290.0030.02716.74
5.5.280.0060.03118.34
5.5.270.0100.04318.23
5.5.260.0070.02518.20
5.5.250.0090.03918.13
5.5.240.0180.04317.85
5.5.230.0070.01015.56
5.5.220.0040.01415.45
5.5.210.0100.00715.51
5.5.200.0130.00315.63
5.5.190.0030.01415.76
5.5.180.0070.01015.51
5.5.170.0090.00915.74
5.5.160.0140.00415.57
5.5.150.0100.00715.73
5.5.140.0170.00715.47
5.5.130.0070.01015.37
5.5.120.0070.01715.55
5.5.110.0150.00415.60
5.5.100.0110.00715.53
5.5.90.0080.01115.69
5.5.80.0060.01215.83
5.5.70.0100.00715.56
5.5.60.0070.01115.48
5.5.50.0040.01315.55
5.5.40.0100.01115.59
5.5.30.0030.02015.83
5.5.20.0100.01315.51
5.5.10.0070.01515.74
5.5.00.0040.01915.47

preferences:
36.63 ms | 401 KiB | 5 Q