3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'Call a group of 8 Shadow Beasts to plummet from the sky at a targeted location dealing 3200% total weapon damage over 5 seconds and stunning enemies hit for 2 seconds.'; echo preg_replace("/[0-9]*%/", '<span class="d3-text-green">$i</span>', $string);

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.30
8.3.50.0090.00522.11
8.3.40.0070.01018.93
8.3.30.0160.00718.88
8.3.20.0040.00420.23
8.3.10.0050.00322.14
8.3.00.0000.00720.69
8.2.180.0080.00816.50
8.2.170.0040.01122.96
8.2.160.0070.00719.21
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0070.00317.48
8.2.110.0070.00422.11
8.2.100.0080.00317.73
8.2.90.0080.00017.84
8.2.80.0080.00017.97
8.2.70.0000.00917.75
8.2.60.0060.00317.93
8.2.50.0050.00318.07
8.2.40.0000.00819.76
8.2.30.0040.00417.96
8.2.20.0000.00717.73
8.2.10.0040.00417.77
8.2.00.0040.00417.82
8.1.280.0150.00025.92
8.1.270.0040.00422.02
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00322.42
8.1.230.0090.00321.04
8.1.220.0060.00317.74
8.1.210.0030.00518.79
8.1.200.0120.00017.35
8.1.190.0000.00817.40
8.1.180.0030.00618.57
8.1.170.0050.00318.58
8.1.160.0000.00722.04
8.1.150.0000.00718.78
8.1.140.0080.00017.58
8.1.130.0040.00717.84
8.1.120.0040.00417.46
8.1.110.0000.00817.50
8.1.100.0040.00417.59
8.1.90.0070.00017.46
8.1.80.0000.00717.52
8.1.70.0030.00317.48
8.1.60.0050.00517.55
8.1.50.0050.00217.46
8.1.40.0040.00417.48
8.1.30.0000.00717.59
8.1.20.0060.00317.64
8.1.10.0080.00017.56
8.1.00.0060.00317.57
8.0.300.0040.00420.03
8.0.290.0000.00817.05
8.0.280.0030.00318.57
8.0.270.0070.00017.27
8.0.260.0000.00616.96
8.0.250.0000.00717.10
8.0.240.0050.00217.07
8.0.230.0030.00317.07
8.0.220.0070.00016.85
8.0.210.0030.00316.84
8.0.200.0000.00617.01
8.0.190.0000.00817.02
8.0.180.0050.00217.07
8.0.170.0040.00416.92
8.0.160.0040.00416.90
8.0.150.0060.00316.89
8.0.140.0040.00416.81
8.0.130.0070.00013.37
8.0.120.0000.00816.92
8.0.110.0000.00716.80
8.0.100.0070.00016.79
8.0.90.0040.00416.98
8.0.80.0070.01016.96
8.0.70.0000.00817.09
8.0.60.0040.00417.08
8.0.50.0040.00416.86
8.0.30.0110.01117.30
8.0.20.0080.01117.40
8.0.10.0000.00817.16
8.0.00.0100.00816.92
7.4.330.0060.00015.00
7.4.320.0030.00316.73
7.4.300.0000.00616.64
7.4.290.0030.00316.64
7.4.280.0000.00716.72
7.4.270.0070.00016.65
7.4.260.0030.00316.58
7.4.250.0070.00016.54
7.4.240.0060.00216.66
7.4.230.0040.00416.75
7.4.220.0030.01216.82
7.4.210.0090.00816.70
7.4.200.0070.00016.86
7.4.190.0070.00016.81
7.4.160.0060.00916.49
7.4.150.0120.00617.40
7.4.140.0140.00417.86
7.4.130.0100.00816.58
7.4.120.0120.00616.60
7.4.110.0070.01016.76
7.4.100.0070.01016.43
7.4.90.0100.00916.57
7.4.80.0120.00619.39
7.4.70.0160.00316.63
7.4.60.0180.00316.56
7.4.50.0030.00316.44
7.4.40.0060.00922.77
7.4.30.0130.00916.45
7.4.00.0080.00614.97
7.3.330.0000.00513.12
7.3.320.0050.00013.13
7.3.310.0030.00316.38
7.3.300.0000.00716.33
7.3.290.0060.01216.27
7.3.280.0090.00816.31
7.3.270.0100.00517.40
7.3.260.0140.00416.40
7.3.250.0120.00516.42
7.3.240.0060.01116.34
7.3.230.0120.00616.59
7.3.210.0060.01216.41
7.3.200.0070.01019.39
7.3.190.0090.01316.49
7.3.180.0120.00616.41
7.3.170.0060.01116.35
7.3.160.0060.01016.55
7.3.120.0050.01014.94
7.3.110.0060.00615.07
7.3.100.0130.00314.68
7.3.90.0030.00614.84
7.3.80.0110.00615.21
7.3.70.0090.00314.96
7.3.60.0040.01114.78
7.3.50.0110.00414.84
7.3.40.0060.00914.75
7.3.30.0060.01114.91
7.3.20.0070.00716.71
7.3.10.0000.01116.60
7.3.00.0070.00716.52
7.2.330.0120.00616.59
7.2.320.0100.00716.58
7.2.310.0090.01216.70
7.2.300.0070.01016.66
7.2.290.0030.01316.61
7.2.250.0110.00715.25
7.2.240.0060.01215.28
7.2.230.0060.00814.89
7.2.220.0070.00415.13
7.2.210.0040.01114.82
7.2.200.0000.00915.31
7.2.190.0090.00315.21
7.2.180.0040.01114.85
7.2.170.0070.01015.21
7.1.330.0070.01015.86
7.1.320.0070.01115.67
7.1.310.0070.00716.02
7.1.300.0030.00615.73
7.1.290.0090.00416.10
7.1.280.0070.00716.00
7.1.270.0060.00315.70
7.1.260.0040.00815.96
7.1.70.0000.00817.19
7.1.60.0030.00717.51
7.1.50.0030.01017.09
7.1.00.0100.06722.36
7.0.200.0000.01516.60
7.0.140.0030.07722.22
7.0.60.0170.07719.96
7.0.50.0100.05317.92
7.0.40.0000.05020.25
7.0.30.0230.06320.15
7.0.20.0200.07020.14
7.0.10.0230.05720.01
7.0.00.0100.08020.34
5.6.280.0070.07020.77
5.6.210.0030.08720.54
5.6.200.0030.05718.08
5.6.190.0070.08320.37
5.6.180.3370.04320.46
5.6.170.0300.04720.44
5.6.160.0030.04320.42
5.6.150.0100.08018.15
5.6.140.0070.03718.18
5.6.130.0070.08718.16
5.6.120.0000.04321.01
5.6.110.0130.06720.95
5.6.100.0030.09020.99
5.6.90.0070.08020.95
5.6.80.0170.05020.35
5.6.70.0400.05020.51
5.5.350.0070.06720.32
5.5.340.0100.08017.98
5.5.330.0130.07720.16
5.5.320.0230.07320.29
5.5.310.0170.04720.41
5.5.300.0030.08718.01
5.5.290.0000.06717.87
5.5.280.0100.08720.96
5.5.270.0070.08720.83
5.5.260.0030.06020.75
5.5.250.0030.08320.45
5.5.240.0100.07720.14
5.4.450.0930.05319.39
5.4.440.0970.04319.48
5.4.430.0230.06019.63
5.4.420.0930.06719.44
5.4.410.0900.05319.34
5.4.400.0830.00018.50
5.4.390.0800.00018.56
5.4.380.0370.04318.46
5.4.370.0430.04318.46
5.4.360.0270.05018.61
5.4.350.0270.05018.71
5.4.340.0330.05318.59
5.4.320.0080.04112.45
5.4.310.0050.04412.45
5.4.300.0080.03412.45
5.4.290.0080.04212.45
5.4.280.0060.03512.34
5.4.270.0060.03912.34
5.4.260.0200.04018.71
5.4.250.0100.05319.03
5.4.240.0100.06018.92
5.4.230.0230.05318.84
5.4.220.0100.06018.93
5.4.210.0100.07018.98
5.4.200.0130.04718.96
5.4.190.0130.05318.87
5.4.180.0130.07718.65
5.4.170.0070.05718.78
5.4.160.0100.06318.70
5.4.150.0130.07718.90
5.4.140.0200.04316.19
5.4.130.0070.05716.22
5.4.120.0070.07316.23
5.4.110.0170.04716.40
5.4.100.0070.07016.50
5.4.90.0170.04016.34
5.4.80.0170.04316.30
5.4.70.0070.05716.49
5.4.60.0170.04016.48
5.4.50.0130.06016.50
5.4.40.0130.06716.50
5.4.30.0070.05316.23
5.4.20.0130.06016.47
5.4.10.0130.05016.50
5.4.00.0070.07315.81
5.3.290.0060.03912.80
5.3.280.0170.04314.73
5.3.270.0100.05714.62
5.3.260.0030.06014.64
5.3.250.0130.05014.62
5.3.240.0130.05014.52
5.3.230.0100.05014.30
5.3.220.0100.08014.57
5.3.210.0100.06014.54
5.3.200.0070.07314.42
5.3.190.0100.06714.47
5.3.180.0100.05014.26
5.3.170.0100.05314.47
5.3.160.0070.05314.43
5.3.150.0130.07014.57
5.3.140.0130.05314.39
5.3.130.0030.06014.43
5.3.120.0170.07014.56
5.3.110.0100.05014.41
5.3.100.0030.06013.88
5.3.90.0170.04713.78
5.3.80.0130.05014.01
5.3.70.0130.06714.03
5.3.60.0200.04014.00
5.3.50.0130.05713.95
5.3.40.0000.06013.84
5.3.30.0100.04313.79
5.3.20.0070.05013.68
5.3.10.0170.06713.53
5.3.00.0270.04013.57
5.2.170.0070.06011.13
5.2.160.0130.04310.98
5.2.150.0130.03311.14
5.2.140.0070.04711.05
5.2.130.0070.04011.11
5.2.120.0100.03710.98
5.2.110.0100.04011.01
5.2.100.0070.04311.11
5.2.90.0030.04310.93
5.2.80.0130.05011.09
5.2.70.0030.04011.10
5.2.60.0100.06010.81
5.2.50.0000.04711.04
5.2.40.0100.04011.15
5.2.30.0130.05310.89
5.2.20.0100.05010.87
5.2.10.0030.04011.07
5.2.00.0070.04310.60
5.1.60.0100.04310.08
5.1.50.0030.03710.14
5.1.40.0030.0379.91
5.1.30.0070.03310.21
5.1.20.0070.03310.56
5.1.10.0030.05010.09
5.1.00.0030.04010.29
5.0.50.0100.0338.50
5.0.40.0130.0208.45
5.0.30.0100.0377.98
5.0.20.0130.0178.02
5.0.10.0070.0308.20
5.0.00.0000.0608.19
4.4.90.0030.0236.46
4.4.80.0030.0336.46
4.4.70.0070.0276.46
4.4.60.0000.0236.46
4.4.50.0000.0236.46
4.4.40.0030.0336.46
4.4.30.0030.0306.46
4.4.20.0070.0276.46
4.4.10.0030.0236.46
4.4.00.0070.0336.46
4.3.110.0030.0236.46
4.3.100.0100.0206.46
4.3.90.0030.0276.46
4.3.80.0070.0436.46
4.3.70.0030.0276.46
4.3.60.0030.0306.46
4.3.50.0030.0236.46
4.3.40.0030.0336.46
4.3.30.0000.0306.46
4.3.20.0030.0376.46
4.3.10.0070.0206.46
4.3.00.0130.0234.48

preferences:
36.55 ms | 401 KiB | 5 Q