3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '<p style=\"font-family: &quot;Open Sans&quot;, sans-serif; font-size: 10px; color: rgb(60, 170, 80); line-height: 150%; text-align: right; padding-top: 0px; padding-bottom: 0px; margin: 0px; overflow: hidden;\"><strong>Search for:<\/strong> <span style=\"color:#888888;\">2 to 15 People, \u00b120$ Per Person, Informal, Available on Date<\/span>\n<\/p>'; echo preg_replace_callback('/\\\\u([0-9a-fA-F]{4})/', function ($match) { return mb_convert_encoding(pack('H*', $match[1]), 'UTF-8', 'UCS-2BE'); }, str_replace(['\"', '\/', '&quot;', '\n'], ['"', '/', '\'', "\n"], $str));

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.4.120.0120.00824.22
8.4.110.0130.00822.49
8.4.100.0040.00518.44
8.4.90.0120.00418.95
8.4.80.0050.00418.87
8.4.70.0110.00719.90
8.4.60.0060.00321.78
8.4.50.0050.00418.78
8.4.40.0090.00920.69
8.4.30.0060.01320.44
8.4.20.0160.00322.61
8.4.10.0170.00321.44
8.3.250.0110.00718.89
8.3.240.0090.01018.87
8.3.230.0060.00316.68
8.3.220.0050.01318.79
8.3.210.0150.00516.66
8.3.200.0080.01016.46
8.3.190.0130.00616.76
8.3.180.0130.00518.55
8.3.170.0000.00817.28
8.3.160.0110.00818.53
8.3.150.0130.00617.21
8.3.140.0040.00417.34
8.3.130.0040.00418.24
8.3.120.0070.00318.83
8.3.110.0090.00020.94
8.3.100.0050.00324.06
8.3.90.0050.00326.77
8.3.80.0060.00319.36
8.3.70.0110.00716.63
8.3.60.0090.01216.63
8.3.50.0090.01023.55
8.3.40.0110.00320.29
8.3.30.0160.00018.85
8.3.20.0000.00824.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.290.0090.00920.69
8.2.280.0070.00420.22
8.2.270.0060.00317.54
8.2.260.0160.00318.89
8.2.250.0100.01017.01
8.2.240.0080.00318.96
8.2.230.0060.00322.58
8.2.220.0000.00837.54
8.2.210.0090.00926.77
8.2.200.0060.00317.00
8.2.190.0100.00716.88
8.2.180.0040.01125.92
8.2.170.0090.00619.12
8.2.160.0030.01022.96
8.2.150.0040.00425.66
8.2.140.0000.00824.66
8.2.130.0030.00526.16
8.2.120.0080.00021.13
8.2.110.0030.00621.07
8.2.100.0000.01218.03
8.2.90.0040.00418.00
8.2.80.0040.00419.16
8.2.70.0040.00418.00
8.2.60.0080.00617.80
8.2.50.0060.00717.69
8.2.40.0080.00517.80
8.2.30.0030.00918.59
8.2.20.0070.00518.00
8.2.10.0080.00418.47
8.2.00.0080.00418.63
8.1.330.0070.01222.21
8.1.320.0110.01016.36
8.1.310.0030.01018.39
8.1.300.0030.00918.26
8.1.290.0060.00318.88
8.1.280.0070.00725.92
8.1.270.0040.00422.00
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.70
8.1.230.0030.00721.00
8.1.220.0040.00417.79
8.1.210.0000.00818.77
8.1.200.0030.00717.60
8.1.190.0060.00817.42
8.1.180.0020.01117.61
8.1.170.0050.00718.38
8.1.160.0110.00018.12
8.1.150.0060.00717.99
8.1.140.0060.00618.16
8.1.130.0070.00418.89
8.1.120.0090.00417.62
8.1.110.0060.00617.53
8.1.100.0080.00617.57
8.1.90.0050.00617.46
8.1.80.0070.00517.40
8.1.70.0060.00617.39
8.1.60.0060.00817.73
8.1.50.0100.00517.67
8.1.40.0120.00217.67
8.1.30.0060.00717.71
8.1.20.0100.00317.62
8.1.10.0070.00617.53
8.1.00.0060.00717.43
8.0.300.0030.00619.81
8.0.290.0050.00316.88
8.0.280.0080.00417.62
8.0.270.0100.00216.82
8.0.260.0070.00617.63
8.0.250.0090.00316.98
8.0.240.0090.00317.04
8.0.230.0060.00516.92
8.0.220.0040.00816.87
8.0.210.0110.00216.83
8.0.200.0020.01017.00
8.0.190.0080.00316.84
8.0.180.0090.00416.88
8.0.170.0070.00517.03
8.0.160.0060.00516.92
8.0.150.0070.00516.94
8.0.140.0040.00816.87
8.0.130.0100.00215.17
8.0.120.0060.00617.00
8.0.110.0070.00517.03
8.0.100.0070.00516.75
8.0.90.0110.00116.86
8.0.80.0080.00717.04
8.0.70.0050.00816.93
8.0.60.0080.00416.93
8.0.50.0060.00616.79
8.0.30.0090.00717.09
8.0.20.0090.01017.10
8.0.10.0060.00616.86
8.0.00.0110.00716.75
7.4.330.0070.00216.03
7.4.320.0060.00516.67
7.4.300.0090.00216.60
7.4.290.0090.00316.63
7.4.280.0050.00716.69
7.4.270.0060.00516.61
7.4.260.0070.00414.98
7.4.250.0100.00216.71
7.4.240.0060.00516.67
7.4.230.0070.00416.70
7.4.220.0080.00116.77
7.4.210.0090.00616.75
7.4.200.0080.00216.65
7.4.190.0110.00516.63
7.4.180.0110.00516.63
7.4.160.0100.00716.52
7.4.150.0110.00416.63
7.4.140.0130.00216.52
7.4.130.0110.00816.71
7.4.120.0130.00416.72
7.4.110.0120.00416.73
7.4.100.0110.00716.61
7.4.90.0150.00716.45
7.4.80.0150.00516.49
7.4.70.0170.00416.38
7.4.60.0140.00516.46
7.4.50.0110.00616.41
7.4.40.0100.01016.45
7.4.30.0090.00816.54
7.4.20.0180.00116.50
7.4.10.0110.00716.59
7.4.00.0150.00316.64
7.3.330.0060.00616.46
7.3.320.0040.00614.92
7.3.310.0050.00616.47
7.3.300.0070.00316.47
7.3.290.0080.00816.46
7.3.280.0100.00716.52
7.3.270.0130.00316.52
7.3.260.0140.00416.66
7.3.250.0070.01016.52
7.3.240.0130.00416.52
7.3.230.0100.00616.62
7.3.220.0130.00616.51
7.3.210.0150.00316.49
7.3.200.0120.00816.46
7.3.190.0130.00616.37
7.3.180.0110.01016.46
7.3.170.0190.00116.46
7.3.160.0110.00616.68
7.3.150.0090.01016.39
7.3.140.0140.00516.46
7.3.130.0110.00816.47
7.3.120.0130.00716.55
7.3.110.0170.00316.60
7.3.100.0150.00616.50
7.3.90.0180.00316.62
7.3.80.0110.00916.48
7.3.70.0080.01016.46
7.3.60.0110.00716.57
7.3.50.0110.00816.46
7.3.40.0190.00416.55
7.3.30.0130.00716.40
7.3.20.0130.00717.25
7.3.10.0190.00417.21
7.3.00.0140.00517.31
7.2.340.0080.00816.52
7.2.330.0140.00716.58
7.2.320.0140.00616.53
7.2.310.0150.00716.66
7.2.300.0150.00416.59
7.2.290.0090.00816.58
7.2.280.0140.00516.66
7.2.270.0120.00716.71
7.2.260.0120.00916.67
7.2.250.0140.00416.48
7.2.240.0060.01416.60
7.2.230.0110.00916.62
7.2.220.0070.01316.66
7.2.210.0130.00716.53
7.2.200.0130.00616.52
7.2.190.0110.00916.60
7.2.180.0100.01116.70
7.2.170.0090.00916.58
7.2.160.0110.00916.56
7.2.150.0110.01117.70
7.2.140.0150.00817.45
7.2.130.0150.00417.57
7.2.120.0160.00417.45
7.2.110.0480.00017.51
7.2.100.0160.00417.66
7.2.90.0150.00317.49
7.2.80.0120.00717.68
7.2.70.0150.00317.53
7.2.60.0120.00917.60
7.2.50.0120.00817.63
7.2.40.0130.00717.63
7.2.30.0150.00517.38
7.2.20.0150.00717.56
7.2.10.0110.00717.51
7.2.00.0080.00917.33

preferences:
131.41 ms | 403 KiB | 5 Q