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">$0</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.40.0030.01418.88
8.3.30.0090.00619.13
8.3.20.0050.00320.34
8.3.10.0080.00022.09
8.3.00.0000.00822.40
8.2.170.0150.00022.96
8.2.160.0110.00319.29
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0060.00326.16
8.2.120.0110.00017.38
8.2.110.0090.00020.38
8.2.100.0090.00317.91
8.2.90.0050.00319.17
8.2.80.0000.00817.97
8.2.70.0030.00517.75
8.2.60.0030.00818.00
8.2.50.0000.00818.10
8.2.40.0050.00319.88
8.2.30.0070.00018.12
8.2.20.0000.00817.71
8.2.10.0000.00717.64
8.2.00.0030.00617.81
8.1.270.0080.00021.99
8.1.260.0100.00026.35
8.1.250.0000.00928.09
8.1.240.0030.00622.35
8.1.230.0040.00717.64
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0060.00317.38
8.1.190.0050.00517.25
8.1.180.0040.00418.10
8.1.170.0060.00318.62
8.1.160.0070.00022.14
8.1.150.0040.00418.75
8.1.140.0040.00417.53
8.1.130.0030.00617.71
8.1.120.0030.00317.52
8.1.110.0000.00817.52
8.1.100.0000.00717.56
8.1.90.0000.00717.52
8.1.80.0030.00617.58
8.1.70.0040.00417.46
8.1.60.0000.00817.68
8.1.50.0000.00717.46
8.1.40.0020.00517.55
8.1.30.0030.00517.61
8.1.20.0050.00317.75
8.1.10.0040.00417.70
8.1.00.0050.00317.58
8.0.300.0070.00018.77
8.0.290.0050.00316.75
8.0.280.0030.00318.40
8.0.270.0030.00317.27
8.0.260.0040.00416.96
8.0.250.0000.00616.99
8.0.240.0000.00717.09
8.0.230.0030.00317.01
8.0.220.0000.00716.86
8.0.210.0000.00716.89
8.0.200.0060.00017.07
8.0.190.0000.00816.95
8.0.180.0040.00416.86
8.0.170.0030.00516.98
8.0.160.0070.00016.90
8.0.150.0000.00816.97
8.0.140.0040.00416.87
8.0.130.0060.00013.42
8.0.120.0040.00416.83
8.0.110.0040.00416.87
8.0.100.0000.00816.86
8.0.90.0070.00016.84
8.0.80.0060.01016.90
8.0.70.0000.00716.79
8.0.60.0040.00416.98
8.0.50.0050.00316.82
8.0.30.0080.01117.23
8.0.20.0170.00217.40
8.0.10.0040.00416.95
8.0.00.0110.00716.98
7.4.330.0030.00315.11
7.4.320.0060.00016.51
7.4.300.0040.00416.73
7.4.290.0040.00416.66
7.4.280.0030.00316.68
7.4.270.0000.00616.74
7.4.260.0030.00316.64
7.4.250.0000.00716.70
7.4.240.0050.00216.70
7.4.230.0000.00716.77
7.4.220.0100.01316.64
7.4.210.0050.00916.66
7.4.200.0040.00416.54
7.4.190.0030.00316.77
7.4.160.0080.00816.74
7.4.150.0110.00617.40
7.4.140.0080.01017.86
7.4.130.0070.01016.62
7.4.120.0110.00616.58
7.4.110.0140.00416.65
7.4.100.0120.01216.74
7.4.90.0060.01316.59
7.4.80.0110.00819.39
7.4.70.0090.01116.62
7.4.60.0090.00616.49
7.4.50.0000.00516.41
7.4.40.0120.00422.77
7.4.30.0100.01316.55
7.4.00.0030.01315.00
7.3.330.0000.00513.04
7.3.320.0060.00013.19
7.3.310.0000.00716.25
7.3.300.0030.00316.31
7.3.290.0100.00716.28
7.3.280.0090.00816.30
7.3.270.0070.01017.40
7.3.260.0100.01316.28
7.3.250.0100.00716.67
7.3.240.0090.00916.39
7.3.230.0070.01116.39
7.3.210.0090.00916.31
7.3.200.0070.01519.39
7.3.190.0050.01716.37
7.3.180.0170.00016.28
7.3.170.0100.00716.66
7.3.160.0120.00316.38
7.3.120.0070.01014.81
7.2.330.0140.00316.73
7.2.320.0110.01216.63
7.2.310.0030.01316.59
7.2.300.0100.00716.60
7.2.290.0060.01016.70
7.1.70.0030.00617.17
7.1.60.0150.00919.82
7.1.50.0090.01217.14
7.1.00.0070.07322.41
7.0.200.0040.00416.81
7.0.140.0000.05022.13
7.0.60.0030.07720.03
7.0.50.0030.04317.81
7.0.40.0070.06020.08
7.0.30.0330.07320.32
7.0.20.0200.07320.14
7.0.10.0230.07320.14
7.0.00.0000.05320.18
5.6.280.0030.07320.98
5.6.210.0070.08720.60
5.6.200.0170.05318.12
5.6.190.0030.06720.39
5.6.180.3200.04320.56
5.6.170.0470.05320.59
5.6.160.0170.07020.44
5.6.150.0100.07718.09
5.6.140.0000.08718.12
5.6.130.0070.08018.21
5.6.120.0030.06021.01
5.6.110.0170.07020.98
5.6.100.0030.08321.02
5.6.90.0070.08321.02
5.6.80.0070.05320.38
5.6.70.0270.07720.41
5.5.350.0070.06320.45
5.5.340.0130.08017.91
5.5.330.0000.07720.23
5.5.320.0300.04320.21
5.5.310.0200.04720.28
5.5.300.0070.07017.91
5.5.290.0030.08017.87
5.5.280.0100.06320.98
5.5.270.0130.04720.88
5.5.260.0100.08020.72
5.5.250.0070.08720.61
5.5.240.0030.07320.10
5.4.450.0770.06019.61
5.4.440.0670.06719.58
5.4.430.0930.05019.28
5.4.420.0870.05319.31
5.4.410.0770.04319.00
5.4.400.1530.00018.62
5.4.390.0600.00018.50
5.4.380.0300.06018.56
5.4.370.0430.04718.68
5.4.360.0300.04718.56
5.4.350.0300.06018.60
5.4.340.0200.06318.70
5.4.320.0090.03712.45
5.4.310.0060.03712.45
5.4.300.0090.04812.45
5.4.290.0060.03712.45
5.4.280.0060.03612.35
5.4.270.0070.03512.35
5.4.260.0070.05318.78
5.4.250.0100.05018.63
5.4.240.0130.04719.00
5.4.230.0030.06018.69
5.4.220.0170.04718.95
5.4.210.0000.05718.88
5.4.200.0170.04718.92
5.4.190.0100.05019.01
5.4.180.0200.04718.86
5.4.170.0130.04718.79
5.4.160.0130.06018.90
5.4.150.0100.06718.71
5.4.140.0030.06016.29
5.4.130.0070.04716.45
5.4.120.0130.06016.25
5.4.110.0130.05316.32
5.4.100.0070.05716.20
5.4.90.0100.05016.48
5.4.80.0000.05316.46
5.4.70.0070.05016.21
5.4.60.0030.05016.46
5.4.50.0200.05716.36
5.4.40.0070.05316.45
5.4.30.0070.06716.23
5.4.20.0200.03716.33
5.4.10.0130.05016.36
5.4.00.0100.04715.71
5.3.290.0040.04312.80
5.3.280.0070.05314.46
5.3.270.0070.07714.59
5.3.260.0070.05714.37
5.3.250.0100.06314.62
5.3.240.0100.04714.60
5.3.230.0070.05314.61
5.3.220.0030.05314.61
5.3.210.0100.05014.40
5.3.200.0070.06314.61
5.3.190.0130.06714.45
5.3.180.0170.04014.60
5.3.170.0000.06714.58
5.3.160.0070.05014.60
5.3.150.0130.04314.65
5.3.140.0100.05314.25
5.3.130.0070.07714.56
5.3.120.0070.08014.70
5.3.110.0130.05714.54
5.3.100.0130.04713.73
5.3.90.0070.05713.93
5.3.80.0100.05014.01
5.3.70.0100.04714.03
5.3.60.0100.04713.99
5.3.50.0030.05713.66
5.3.40.0000.06013.99
5.3.30.0070.04713.77
5.3.20.0000.07313.69
5.3.10.0030.05313.34
5.3.00.0100.04313.73
5.2.170.0030.04311.07
5.2.160.0100.03311.07
5.2.150.0030.05711.14
5.2.140.0000.04711.14
5.2.130.0070.04710.86
5.2.120.0100.05011.01
5.2.110.0000.06011.11
5.2.100.0200.03711.02
5.2.90.0130.04311.10
5.2.80.0100.05710.92
5.2.70.0000.04711.18
5.2.60.0070.04711.06
5.2.50.0100.05011.13
5.2.40.0030.04711.00
5.2.30.0000.04310.97
5.2.20.0030.04310.95
5.2.10.0030.04010.76
5.2.00.0030.05310.64
5.1.60.0130.02310.18
5.1.50.0070.03310.23
5.1.40.0070.03010.04
5.1.30.0100.03710.21
5.1.20.0030.03710.42
5.1.10.0070.03710.10
5.1.00.0070.04010.00
5.0.50.0000.0338.56
5.0.40.0030.0408.43
5.0.30.0070.0408.14
5.0.20.0030.0308.27
5.0.10.0000.0308.11
5.0.00.0070.0378.09
4.4.90.0000.0236.47
4.4.80.0030.0206.47
4.4.70.0030.0206.46
4.4.60.0000.0336.46
4.4.50.0030.0206.46
4.4.40.0030.0336.46
4.4.30.0000.0236.46
4.4.20.0000.0276.46
4.4.10.0000.0236.46
4.4.00.0070.0376.46
4.3.110.0030.0206.46
4.3.100.0070.0176.46
4.3.90.0030.0206.46
4.3.80.0070.0306.46
4.3.70.0030.0206.46
4.3.60.0070.0176.46
4.3.50.0030.0306.46
4.3.40.0030.0336.46
4.3.30.0070.0206.46
4.3.20.0070.0206.46
4.3.10.0070.0176.46
4.3.00.0100.0234.42

preferences:
32.3 ms | 400 KiB | 5 Q