3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var1 = 'Hello World'; $var2 = ''; $var2 =& $var1; debug_zval_dump($var1);
based on e31sB

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.0.00.0110.00816.62
7.4.140.0150.00717.86
7.4.130.0110.00816.44
7.4.120.0100.00916.46
7.4.110.0190.00316.29
7.4.100.0110.00616.25
7.4.90.0120.00616.26
7.4.80.0140.00619.39
7.4.70.0070.01016.25
7.4.60.0060.01016.18
7.4.50.0040.00416.36
7.4.40.0040.01616.61
7.4.30.0170.00016.38
7.4.20.0090.01216.34
7.4.00.0060.00914.75
7.3.260.0100.00716.18
7.3.240.0070.01416.49
7.3.230.0100.00716.39
7.3.210.0130.00416.57
7.3.200.0060.01019.39
7.3.190.0130.00316.32
7.3.180.0060.00916.53
7.3.170.0150.00716.48
7.3.160.0080.00816.18
7.3.70.0100.01014.65
7.3.60.0100.01014.44
7.3.50.0080.00314.86
7.3.40.0040.00714.54
7.3.30.0050.00514.68
7.3.20.0140.00816.53
7.3.10.0180.00316.53
7.3.00.0070.01116.48
7.2.330.0140.01016.17
7.2.320.0090.00916.62
7.2.310.0100.00716.44
7.2.300.0030.01416.44
7.2.290.0080.01316.72
7.2.200.0100.00314.80
7.2.190.0000.01414.79
7.2.180.0040.00714.76
7.2.170.0100.00314.90
7.2.160.0140.00314.54
7.2.150.0040.00816.73
7.2.140.0080.01116.44
7.2.130.0170.00716.92
7.2.120.0030.01416.55
7.2.110.0060.01216.85
7.2.100.0120.01514.83
7.2.90.0090.01316.72
7.2.80.0100.00316.85
7.2.70.0080.00816.71
7.2.60.0050.01216.72
7.2.50.0170.00716.47
7.2.40.0100.00716.83
7.2.30.0100.01216.72
7.2.20.0130.00016.48
7.2.10.0100.01017.35
7.2.00.0110.01217.68
7.1.300.0050.01315.79
7.1.290.0060.00315.50
7.1.280.0070.01015.67
7.1.270.0090.00915.71
7.1.260.0130.00815.53
7.1.250.0160.00515.66
7.1.240.0170.01415.73
7.1.230.0290.00615.75
7.1.220.0160.00615.42
7.1.210.0120.01215.69
7.1.200.0100.00615.80
7.1.190.0140.01415.82
7.1.180.0260.00915.70
7.1.170.0110.02115.73
7.1.160.0200.00715.84
7.1.150.0060.01315.63
7.1.140.0170.00915.68
7.1.130.0200.00516.17
7.1.120.0250.00616.05
7.1.110.0110.01915.74
7.1.100.0190.01015.93
7.1.90.0200.00915.77
7.1.80.0130.01315.91
7.1.70.0180.00615.98
7.1.60.0190.01421.95
7.1.50.0120.01021.76
7.1.40.0190.01021.71
7.1.30.0180.01221.68
7.1.20.0180.00821.74
7.1.10.0160.00815.72
7.1.00.0120.00915.69
7.0.330.0230.00615.38
7.0.320.0240.00615.32
7.0.310.0100.00515.12
7.0.300.0180.01015.20
7.0.290.0200.01015.27
7.0.280.0120.01215.41
7.0.270.0170.01315.82
7.0.260.0250.00915.60
7.0.250.0220.00915.60
7.0.240.0160.01015.65
7.0.230.0220.00715.66
7.0.220.0250.00715.53
7.0.210.0130.00914.89
7.0.200.0190.01015.62
7.0.190.0450.00415.52
7.0.180.0090.01315.31
7.0.170.0150.01015.41
7.0.160.0150.00615.41
7.0.150.0100.01215.50
7.0.140.0090.01215.55
7.0.130.0160.00615.64
7.0.120.0130.00915.50
7.0.110.0200.00515.54
7.0.100.0070.01315.50
7.0.90.0150.00615.48
7.0.80.0160.01215.41
7.0.70.0380.00715.47
7.0.60.0070.01315.52
7.0.50.0070.01115.48
7.0.40.0120.00815.52
7.0.30.0110.01215.55
7.0.20.0080.01015.51
7.0.10.0160.01015.51
7.0.00.0080.00615.48
5.6.400.0230.00614.16
5.6.390.0300.00314.29
5.6.380.0140.01914.21
5.6.370.0140.00714.00
5.6.360.0180.00914.06
5.6.350.0150.01414.17
5.6.340.0110.00714.40
5.6.330.0120.00414.07
5.6.320.0170.00413.94
5.6.310.0130.01714.04
5.6.300.0150.03218.75
5.6.290.0150.03318.44
5.6.280.0120.04018.70
5.6.270.0150.04418.77
5.6.260.0100.04118.70
5.6.250.0150.04218.66
5.6.240.0200.03918.61
5.6.230.0150.04018.59
5.6.220.0100.04118.63
5.6.210.0150.03618.63
5.6.200.0130.04018.58
5.6.190.0110.04118.65
5.6.180.0120.04218.71
5.6.170.0110.04118.66
5.6.160.0100.04118.54
5.6.150.0080.04018.48
5.6.140.0130.03618.59
5.6.130.0070.05218.61
5.6.120.0110.03918.60
5.6.110.0100.03518.75
5.6.100.0090.04518.63
5.6.90.0110.03818.57
5.6.80.0120.03218.17
5.6.70.0140.03218.18
5.6.60.0100.03818.14
5.6.50.0150.04718.17
5.6.40.0050.04118.24
5.6.30.0140.03818.08
5.6.20.0110.03918.16
5.6.10.0130.03818.18
5.6.00.0110.05118.18
5.5.380.0110.03216.25
5.5.370.0100.03816.43
5.5.360.0090.04116.28
5.5.350.0100.03716.33
5.5.340.0090.04216.59
5.5.330.0090.04316.70
5.5.320.0130.03516.57
5.5.310.0080.04316.60
5.5.300.0110.03816.67
5.5.290.0100.04216.63
5.5.280.0120.04216.59
5.5.270.0080.03916.72
5.5.260.0110.03616.51
5.5.250.0120.03716.46
5.5.240.0100.03316.28
5.5.230.0120.04116.18
5.5.220.0140.03116.23
5.5.210.0090.04316.22
5.5.200.0100.04016.18
5.5.190.0080.04816.25
5.5.180.0140.04016.16
5.5.170.0180.01114.28
5.5.160.0120.03316.18
5.5.150.0090.04016.12
5.5.140.0070.03716.18
5.5.130.0080.03716.20
5.5.120.0090.03216.11
5.5.110.0080.03916.15
5.5.100.0100.03416.14
5.5.90.0140.03316.05
5.5.80.0080.04216.13
5.5.70.0110.03816.25
5.5.60.0140.04016.03
5.5.50.0130.04116.06
5.5.40.0150.03016.10
5.5.30.0160.03416.18
5.5.20.0160.03716.14
5.5.10.0130.03916.04
5.5.00.0110.03916.06
5.4.450.0080.03816.46
5.4.440.0080.04316.43
5.4.430.0110.04816.57
5.4.420.0160.02916.35
5.4.410.0130.03016.33
5.4.400.0090.03216.28
5.4.390.0120.03316.37
5.4.380.0130.03216.27
5.4.370.0130.03316.23
5.4.360.0120.03716.27
5.4.350.0050.03916.11
5.4.340.0070.03716.26
5.4.330.0100.00310.79
5.4.320.0110.04816.29
5.4.310.0120.03716.20
5.4.300.0110.04416.22
5.4.290.0120.03416.29
5.4.280.0110.03416.30
5.4.270.0080.03416.18
5.4.260.0060.03516.29
5.4.250.0100.03916.28
5.4.240.0070.03816.30
5.4.230.0080.03716.30
5.4.220.0100.03616.20
5.4.210.0170.03316.27
5.4.200.0110.03216.30
5.4.190.0120.03516.18
5.4.180.0110.04216.29
5.4.170.0070.04016.22
5.4.160.0130.04016.15
5.4.150.0070.03816.19
5.4.140.0060.04114.71
5.4.130.0100.03314.65
5.4.120.0120.03114.81
5.4.110.0110.03714.63
5.4.100.0110.03114.83
5.4.90.0070.04214.70
5.4.80.0060.03314.70
5.4.70.0080.03014.66
5.4.60.0150.03414.65
5.4.50.0070.03314.72
5.4.40.0100.02814.73
5.4.30.0090.02914.73
5.4.20.0080.03314.60
5.4.10.0090.03114.63
5.4.00.0130.02814.40