3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = ' <td class="red"><script type="text/javascript">Decode("2%65%66%_WHATEVER_8%74%74")</script></td> <td class="green"><script type="text/javascript">Decode("2%65%66%_WHATEVER_8%74%74")</script></td> <td class="red"><script type="text/javascript">Decode("2%65%66%_WHATEVER_8%74%74")</script></td> '; $pattern = '/\("\K[^"]+/'; preg_match_all($pattern, $string, $matches); print_r($matches[0]);

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.5.00.0150.00620.32
8.4.150.0020.00114.05
8.4.140.0140.00717.95
8.4.130.0090.01218.89
8.4.120.0110.00924.12
8.4.110.0110.00418.79
8.4.100.0100.00617.88
8.4.90.0110.00820.45
8.4.80.0130.00618.82
8.4.70.0130.00718.12
8.4.60.0090.00718.89
8.4.50.0080.00918.91
8.4.40.0100.01019.58
8.4.30.0040.00417.95
8.4.20.0100.01019.43
8.4.10.0130.00617.68
8.3.280.0080.01118.23
8.3.270.0080.01116.68
8.3.260.0100.01016.47
8.3.250.0100.01018.95
8.3.240.0050.00317.19
8.3.230.0030.00616.61
8.3.220.0150.00318.79
8.3.210.0120.00918.46
8.3.200.0050.00416.66
8.3.190.0100.00918.55
8.3.180.0120.00716.55
8.3.170.0130.00416.78
8.3.160.0000.01818.34
8.3.150.0030.01516.58
8.3.140.0110.00416.68
8.3.130.0040.00416.72
8.3.120.0000.00820.67
8.3.110.0040.00420.94
8.3.100.0120.00816.57
8.3.90.0040.00426.77
8.3.80.0040.00417.97
8.3.70.0060.00916.49
8.3.60.0150.00418.43
8.3.50.0110.00617.50
8.3.40.0100.01019.09
8.3.30.0040.01118.79
8.3.20.0070.00021.81
8.3.10.0000.00823.65
8.3.00.0000.00821.72
8.2.290.0130.00520.44
8.2.280.0110.00818.50
8.2.270.0060.01217.18
8.2.260.0110.00719.09
8.2.250.0050.00318.96
8.2.240.0030.00617.17
8.2.230.0040.00422.58
8.2.220.0030.00624.06
8.2.210.0080.00026.77
8.2.200.0040.00416.63
8.2.190.0130.00616.58
8.2.180.0040.01116.88
8.2.170.0100.00722.96
8.2.160.0030.01022.27
8.2.150.0050.00324.18
8.2.140.0160.00324.66
8.2.130.0040.00419.24
8.2.120.0030.00626.35
8.2.110.0090.00021.19
8.2.100.0110.00018.03
8.2.90.0000.00819.23
8.2.80.0000.00917.97
8.2.70.0000.00817.88
8.2.60.0000.00917.93
8.2.50.0080.00018.10
8.2.40.0040.00422.29
8.2.30.0040.00419.31
8.2.20.0040.00418.01
8.2.10.0030.00517.98
8.2.00.0030.00519.75
8.1.330.0100.00622.16
8.1.320.0090.00816.41
8.1.310.0140.00318.66
8.1.300.0040.01119.76
8.1.290.0030.00630.84
8.1.280.0000.01425.92
8.1.270.0070.00022.05
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0040.00817.37
8.1.230.0000.01117.89
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0040.00417.35
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0000.00818.74
8.1.160.0030.00318.72
8.1.150.0030.00318.76
8.1.140.0070.00018.97
8.1.130.0040.00417.50
8.1.120.0000.00717.52
8.1.110.0000.00717.50
8.1.100.0050.00317.53
8.1.90.0030.00517.57
8.1.80.0040.00317.47
8.1.70.0030.00317.57
8.1.60.0050.00317.68
8.1.50.0060.00317.56
8.1.40.0080.00017.52
8.1.30.0000.00817.76
8.1.20.0000.00717.66
8.1.10.0020.00517.73
8.1.00.0030.00517.55
8.0.300.0040.00718.77
8.0.290.0040.00416.88
8.0.280.0040.00418.27
8.0.270.0070.00016.95
8.0.260.0060.00316.90
8.0.250.0000.00717.06
8.0.240.0070.00017.04
8.0.230.0030.00316.95
8.0.220.0030.00516.89
8.0.210.0000.00716.96
8.0.200.0000.00616.97
8.0.190.0080.00016.91
8.0.180.0030.00516.96
8.0.170.0050.00316.95
8.0.160.0040.00416.97
8.0.150.0030.00316.90
8.0.140.0040.00416.94
8.0.130.0050.00213.46
8.0.120.0040.00416.85
8.0.110.0040.00416.84
8.0.100.0040.00416.94
8.0.90.0040.00416.83
8.0.80.0090.00616.86
8.0.70.0000.00717.01
8.0.60.0040.00416.86
8.0.50.0040.00416.79
8.0.30.0080.01117.26
8.0.20.0110.01017.40
8.0.10.0000.00717.09
8.0.00.0120.00716.79
7.4.330.0060.00015.55
7.4.320.0060.00016.68
7.4.300.0030.00316.71
7.4.290.0070.00016.74
7.4.280.0050.00316.62
7.4.270.0030.00316.80
7.4.260.0040.00416.56
7.4.250.0030.00316.71
7.4.240.0030.00316.80
7.4.230.0030.00316.76
7.4.220.0000.00816.78
7.4.210.0070.00716.70
7.4.200.0000.00716.85
7.4.160.0110.00716.66
7.4.150.0040.01417.40
7.4.140.0120.00817.86
7.4.130.0260.02916.71
7.4.120.0090.01116.55
7.4.110.0130.00316.81
7.4.100.0150.00916.61
7.4.90.0190.00016.82
7.4.80.0110.01119.39
7.4.70.0070.01516.65
7.4.60.0050.01116.62
7.4.50.0040.00716.54
7.4.40.0110.01116.39
7.4.00.0030.00914.92
7.3.330.0050.00013.08
7.3.320.0000.00613.18
7.3.310.0030.00316.31
7.3.300.0030.00316.26
7.3.290.0120.00716.36
7.3.280.0100.00816.36
7.3.270.0100.01317.40
7.3.260.0090.01116.58
7.3.250.0100.01016.48
7.3.240.0120.00716.66
7.3.230.0060.01016.41
7.3.210.0140.00316.33
7.3.200.0080.00816.60
7.3.190.0090.00616.30
7.3.180.0100.00616.83
7.3.170.0090.00916.70
7.3.160.0150.00316.46
7.3.00.0110.00416.22
7.2.330.0160.00616.70
7.2.320.0130.01016.66
7.2.310.0070.01016.57
7.2.300.0100.01016.71
7.2.290.0070.01016.70
7.2.130.0060.01016.88
7.2.120.0130.00316.50
7.2.110.0130.00316.75
7.2.100.0030.01416.67
7.2.90.0080.00816.71
7.2.80.0030.00916.91
7.2.70.0040.00816.91
7.2.60.0140.00216.80
7.2.50.0080.00816.76
7.2.40.0060.00616.57
7.2.30.0070.00716.84
7.2.20.0100.00716.63
7.2.10.0110.00416.67
7.2.00.0160.00617.49
7.1.250.0100.00615.66
7.1.240.0110.00415.53
7.1.230.0140.00315.76
7.1.220.0060.00915.95
7.1.210.0110.00815.91
7.1.200.0090.00415.89
7.1.190.0040.00815.82
7.1.180.0090.00315.82
7.1.170.0080.00815.59
7.1.160.0090.00915.82
7.1.150.0100.00615.98
7.1.140.0040.01215.76
7.1.130.0070.00715.68
7.1.120.0150.00816.32
7.1.110.0120.00716.20
7.1.100.0120.00715.98
7.1.90.0130.00616.16
7.1.80.0130.00815.90
7.1.70.0190.00515.64
7.1.60.0140.01124.72
7.1.50.0210.00724.51
7.1.40.0150.01424.32
7.1.30.0570.01024.44
7.1.20.0130.01324.64
7.1.10.0160.00315.33
7.1.00.0070.01315.35
7.0.330.0100.00615.15
5.6.380.0000.00914.53

preferences:
38.22 ms | 403 KiB | 5 Q