3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "<derp>"; $words = array(); $words[] = &$string; $string = substr($string, 1); var_dump($words);

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.40.0090.00618.59
8.3.30.0100.00720.16
8.3.20.0040.00420.07
8.3.10.0060.00321.96
8.3.00.0080.00022.45
8.2.170.0140.00322.96
8.2.160.0070.00722.13
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0110.00326.16
8.2.120.0070.00020.71
8.2.110.0050.00521.04
8.2.100.0080.00417.78
8.2.90.0000.00919.22
8.2.80.0000.00917.97
8.2.70.0030.00517.38
8.2.60.0030.00517.79
8.2.50.0060.00318.07
8.2.40.0000.00818.22
8.2.30.0040.00417.97
8.2.20.0000.00817.71
8.2.10.0000.00817.59
8.2.00.0040.00417.68
8.1.270.0050.00323.99
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00621.37
8.1.230.0050.00522.15
8.1.220.0080.00317.74
8.1.210.0080.00018.77
8.1.200.0030.00617.38
8.1.190.0080.00017.23
8.1.180.0040.00418.10
8.1.170.0080.00018.40
8.1.160.0090.00018.82
8.1.150.0040.00418.57
8.1.140.0000.00717.25
8.1.130.0030.00317.82
8.1.120.0030.00317.43
8.1.110.0000.00717.26
8.1.100.0030.00517.37
8.1.90.0050.00217.41
8.1.80.0080.00017.32
8.1.70.0050.00217.36
8.1.60.0000.00817.58
8.1.50.0080.00017.41
8.1.40.0080.00017.50
8.1.30.0020.00517.39
8.1.20.0000.00817.64
8.1.10.0030.00617.42
8.1.00.0070.00317.29
8.0.300.0050.00318.77
8.0.290.0070.00016.63
8.0.280.0070.00018.43
8.0.270.0000.00717.14
8.0.260.0030.00316.62
8.0.250.0040.00416.86
8.0.240.0040.00416.79
8.0.230.0040.00416.83
8.0.220.0070.00016.78
8.0.210.0030.00316.71
8.0.200.0050.00216.87
8.0.190.0030.00316.89
8.0.180.0000.00716.89
8.0.170.0000.00816.79
8.0.160.0070.00016.68
8.0.150.0060.00316.73
8.0.140.0040.00416.77
8.0.130.0000.00613.24
8.0.120.0080.00016.82
8.0.110.0040.00416.74
8.0.100.0050.00316.93
8.0.90.0080.00016.84
8.0.80.0160.00816.86
8.0.70.0040.00416.86
8.0.60.0000.00716.67
8.0.50.0000.00716.83
8.0.30.0120.00716.78
8.0.20.0150.00617.40
8.0.10.0000.00716.96
8.0.00.0140.00916.61
7.4.330.0000.00515.00
7.4.320.0030.00316.54
7.4.300.0000.00616.53
7.4.290.0000.00716.37
7.4.280.0000.00716.43
7.4.270.0070.00016.41
7.4.260.0000.00613.23
7.4.250.0030.00516.37
7.4.240.0040.00416.45
7.4.230.0050.00316.29
7.4.220.0090.00916.30
7.4.210.0120.00516.55
7.4.200.0000.00716.28
7.4.190.0070.00016.36
7.4.160.0040.01116.48
7.4.150.0070.01417.40
7.4.140.0090.01217.86
7.4.130.0070.01016.49
7.4.120.0110.00816.49
7.4.110.0100.01316.35
7.4.100.0100.00716.44
7.4.90.0080.00816.30
7.4.80.0060.01519.39
7.4.70.0000.01716.60
7.4.60.0070.01016.29
7.4.50.0040.00416.50
7.4.40.0070.00522.77
7.4.30.0090.00916.42
7.4.00.0090.00614.96
7.3.330.0000.00612.93
7.3.320.0060.00013.13
7.3.310.0030.00316.13
7.3.300.0030.00316.18
7.3.290.0140.00716.23
7.3.280.0100.00616.22
7.3.270.0100.00717.40
7.3.260.0120.00416.17
7.3.250.0080.00916.31
7.3.240.0090.00916.21
7.3.230.0120.00616.39
7.3.210.0070.01016.49
7.3.200.0070.01419.39
7.3.190.0140.00316.32
7.3.180.0090.00616.59
7.3.170.0040.01116.35
7.3.160.0070.01316.54
7.3.120.0030.01114.65
7.3.110.0080.00814.86
7.3.100.0070.00714.52
7.3.90.0140.00714.78
7.3.80.0030.00715.04
7.3.70.0040.01114.65
7.3.60.0000.01114.74
7.3.50.0030.01014.64
7.3.40.0040.01514.63
7.3.30.0110.00714.56
7.3.20.0060.01216.73
7.3.10.0030.01016.57
7.3.00.0060.00616.74
7.2.330.0100.00716.62
7.2.320.0170.00616.62
7.2.310.0040.01416.59
7.2.300.0040.01216.35
7.2.290.0130.01016.45
7.2.250.0050.00714.70
7.2.240.0070.01114.84
7.2.230.0040.01215.18
7.2.220.0060.01214.96
7.2.210.0070.00715.10
7.2.200.0060.00315.04
7.2.190.0030.01014.75
7.2.180.0090.00314.70
7.2.170.0080.00814.93
7.2.00.0070.00719.45
7.1.330.0090.00315.41
7.1.320.0030.00915.77
7.1.310.0100.00315.60
7.1.300.0030.01015.79
7.1.290.0110.00415.70
7.1.280.0030.01315.74
7.1.270.0100.00715.78
7.1.260.0070.00415.71
7.1.100.0070.00718.24
7.1.70.0030.00317.03
7.1.60.0140.01019.32
7.1.50.0030.01016.84
7.1.00.0000.05322.29
7.0.200.0030.00716.56
7.0.140.0030.07321.95
7.0.100.0070.04720.17
7.0.90.0100.08719.89
7.0.80.0100.08319.89
7.0.70.0130.07719.89
7.0.60.0100.06719.78
7.0.50.0070.08020.18
7.0.40.0100.07320.05
7.0.30.0000.05720.11
7.0.20.0030.08320.16
7.0.10.0030.03720.07
7.0.00.0070.08720.07
5.6.280.0000.07720.91
5.6.250.0070.08320.63
5.6.240.0030.07320.57
5.6.230.0030.08020.65
5.6.220.0070.08320.57
5.6.210.0070.08320.74
5.6.200.0100.08720.93
5.6.190.0130.04021.07
5.6.180.0130.07321.02
5.6.170.0030.08320.94
5.6.160.0070.04320.93
5.6.150.0000.06021.16
5.6.140.0130.07320.94
5.6.130.0100.08320.98
5.6.120.0200.07321.07
5.6.110.0100.07021.05
5.6.100.0070.08020.98
5.6.90.0070.08021.11
5.6.80.0030.07020.48
5.6.70.0030.05020.43
5.6.60.0130.07020.53
5.6.50.0100.07020.42
5.6.40.0000.04320.45
5.6.30.0070.04720.37
5.6.20.0030.08320.34
5.6.10.0070.07720.39
5.6.00.0100.03720.37
5.5.380.0070.07720.41
5.5.370.0000.04720.41
5.5.360.0030.08320.33
5.5.350.0130.07720.30
5.5.340.0070.05020.79
5.5.330.0100.05320.88
5.5.320.0030.08720.93
5.5.310.0100.05020.78
5.5.300.0130.07020.82
5.5.290.0030.04720.88
5.5.280.0030.04020.82
5.5.270.0130.03720.86
5.5.260.0000.09020.63
5.5.250.0070.08020.63
5.5.240.0130.06720.23
5.5.230.0100.07720.02
5.5.220.0070.06020.16
5.5.210.0070.04720.25
5.5.200.0070.08320.21
5.5.190.0100.05020.27
5.5.180.0130.06020.27
5.5.160.0030.04020.17
5.5.150.0070.06020.22
5.5.140.0070.05720.16
5.5.130.0030.07320.16
5.5.120.0100.06720.14
5.5.110.0070.05720.13
5.5.100.0070.05020.07
5.5.90.0030.04720.14
5.5.80.0170.03720.09
5.5.70.0030.07720.14
5.5.60.0100.05720.02
5.5.50.0030.04020.11
5.5.40.0030.04720.09
5.5.30.0070.06020.13
5.5.20.0130.04020.14
5.5.10.0070.06320.05
5.5.00.0170.05719.94
5.4.450.0030.07719.44
5.4.440.0070.03719.46
5.4.430.0070.08319.36
5.4.420.0100.05019.44
5.4.410.0030.07719.10
5.4.400.0130.07019.23
5.4.390.0070.03719.23
5.4.380.0170.06719.23
5.4.370.0030.07719.07
5.4.360.0070.07019.02
5.4.350.0070.04719.03
5.4.340.0170.05019.12
5.4.320.0030.08019.14
5.4.310.0070.09018.96
5.4.300.0030.08019.02
5.4.290.0130.07019.10
5.4.280.0170.05719.14
5.4.270.0130.03718.98
5.4.260.0100.06719.04
5.4.250.0070.08319.02
5.4.240.0070.07018.80
5.4.230.0070.05319.13
5.4.220.0000.08018.77
5.4.210.0100.04319.11
5.4.200.0100.05019.11
5.4.190.0070.07018.91
5.4.180.0030.03719.23
5.4.170.0100.07018.78
5.4.160.0170.07318.99
5.4.150.0100.06719.10
5.4.140.0070.04316.29
5.4.130.0100.06716.32
5.4.120.0100.05716.05
5.4.110.0100.07016.42
5.4.100.0170.06716.23
5.4.90.0030.04716.26
5.4.80.0130.05716.40
5.4.70.0130.06716.34
5.4.60.0070.06316.19
5.4.50.0100.04016.38
5.4.40.0030.06016.43
5.4.30.0130.05016.18
5.4.20.0100.06716.19
5.4.10.0070.05316.27
5.4.00.0030.03715.71
5.3.290.0030.04714.52
5.3.280.0100.04314.52
5.3.270.0070.05314.59
5.3.260.0130.03714.60
5.3.250.0030.05014.60
5.3.240.0030.04314.46
5.3.230.0100.07314.58
5.3.220.0130.03714.56
5.3.210.0100.08014.42
5.3.200.0100.06314.54
5.3.190.0030.04314.52
5.3.180.0030.06314.54
5.3.170.0130.07014.42
5.3.160.0070.05014.37
5.3.150.0030.04014.53
5.3.140.0070.03714.54
5.3.130.0070.07714.54
5.3.120.0070.07714.45
5.3.110.0100.04714.52
5.3.100.0070.04014.03
5.3.90.0030.04713.99
5.3.80.0100.03013.87
5.3.70.0070.03313.96
5.3.60.0030.04014.00
5.3.50.0100.07013.90
5.3.40.0070.05713.71
5.3.30.0070.08713.89
5.3.20.0070.03313.65
5.3.10.0100.07013.51
5.3.00.0100.07013.62
5.2.170.0070.04011.21
5.2.160.0070.05011.16
5.2.150.0070.06010.99
5.2.140.0070.02711.20
5.2.130.0000.03311.08
5.2.120.0100.05311.09
5.2.110.0030.05310.96
5.2.100.0030.06011.09
5.2.90.0030.06311.12
5.2.80.0100.03011.13
5.2.70.0070.04711.16
5.2.60.0030.05010.92
5.2.50.0200.05011.07
5.2.40.0000.03711.04
5.2.30.0070.05310.91
5.2.20.0030.06310.96
5.2.10.0100.03710.91
5.2.00.0030.03310.75
5.1.60.0030.0609.99
5.1.50.0070.0379.98
5.1.40.0070.04010.03
5.1.30.0100.05010.26
5.1.20.0000.05010.39
5.1.10.0030.0279.91
5.1.00.0070.04010.07
5.0.50.0130.0478.57
5.0.40.0070.0338.39
5.0.30.0000.0378.22
5.0.20.0070.0378.25
5.0.10.0030.0338.27
5.0.00.0070.0608.21
4.4.90.0070.0308.14
4.4.80.0000.0338.14
4.4.70.0000.0208.14
4.4.60.0000.0338.14
4.4.50.0000.0338.14
4.4.40.0030.0338.14
4.4.30.0070.0338.14
4.4.20.0000.0178.14
4.4.10.0030.0378.14
4.4.00.0030.0538.14
4.3.110.0000.0378.14
4.3.100.0000.0378.14
4.3.90.0030.0178.14
4.3.80.0030.0378.14
4.3.70.0000.0378.14
4.3.60.0070.0138.14
4.3.50.0000.0338.14
4.3.40.0000.0308.14
4.3.30.0030.0308.14
4.3.20.0000.0338.14
4.3.10.0000.0208.14
4.3.00.0000.0378.14

preferences:
49.4 ms | 400 KiB | 5 Q