3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = ' Enjoy the best deals, rates and accessories. ... Offer Codes {couponCount} * ... Car Rental from Budget, Book Online Now & Save. Car rentals that fit your budget View All Deals \u203a Up to 25% off with 10% donated to Susan G. Komen'; $str = preg_replace('/[}]+/', '}', $str); var_dump($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.3.60.0120.00316.38
8.3.50.0070.01016.52
8.3.40.0120.00323.70
8.3.30.0090.00918.61
8.3.20.0050.00324.18
8.3.10.0030.00624.66
8.3.00.0090.00026.16
8.2.180.0070.01425.92
8.2.170.0090.00619.02
8.2.160.0040.01122.96
8.2.150.0070.00025.66
8.2.140.0030.00624.66
8.2.130.0080.00026.16
8.2.120.0070.00026.35
8.2.110.0060.00321.23
8.2.100.0110.00017.85
8.2.90.0040.00418.22
8.2.80.0040.00417.97
8.2.70.0060.00317.75
8.2.60.0040.00417.63
8.2.50.0040.00418.05
8.2.40.0030.00617.97
8.2.30.0040.00417.95
8.2.20.0040.00417.95
8.2.10.0040.00419.38
8.2.00.0000.00719.22
8.1.280.0110.00425.92
8.1.270.0050.00323.99
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0030.00623.92
8.1.230.0110.00020.78
8.1.220.0050.00317.74
8.1.210.0030.00620.12
8.1.200.0080.00017.52
8.1.190.0080.00017.36
8.1.180.0070.00518.10
8.1.170.0050.00318.68
8.1.160.0040.00418.91
8.1.150.0040.00418.83
8.1.140.0030.00618.85
8.1.130.0000.00720.21
8.1.120.0020.00517.45
8.1.110.0030.00517.55
8.1.100.0000.00717.59
8.1.90.0050.00217.55
8.1.80.0000.00717.43
8.1.70.0030.00317.48
8.1.60.0000.00917.69
8.1.50.0050.00317.67
8.1.40.0040.00417.66
8.1.30.0080.00017.77
8.1.20.0030.00617.56
8.1.10.0050.00217.50
8.1.00.0030.00617.53
8.0.300.0040.00420.16
8.0.290.0050.00316.75
8.0.280.0000.00718.40
8.0.270.0030.00318.03
8.0.260.0000.00720.11
8.0.250.0000.00717.00
8.0.240.0000.00717.03
8.0.230.0040.00417.04
8.0.220.0030.00316.96
8.0.210.0070.00016.93
8.0.200.0000.00817.02
8.0.190.0060.00317.04
8.0.180.0040.00416.92
8.0.170.0060.00316.95
8.0.160.0000.00716.86
8.0.150.0000.00816.78
8.0.140.0050.00216.82
8.0.130.0040.00413.36
8.0.120.0000.00716.93
8.0.110.0000.00716.81
8.0.100.0000.00716.97
8.0.90.0000.00817.04
8.0.80.0030.01316.93
8.0.70.0030.00616.86
8.0.60.0050.00217.02
8.0.50.0050.00316.95
8.0.30.0190.00017.30
8.0.20.0100.01117.05
8.0.10.0050.00217.10
8.0.00.0150.00316.61
7.4.330.0020.00215.55
7.4.320.0030.00316.73
7.4.300.0030.00316.77
7.4.290.0000.00716.65
7.4.280.0040.00416.77
7.4.270.0050.00216.70
7.4.260.0030.00313.41
7.4.250.0000.00716.71
7.4.240.0030.00516.64
7.4.230.0040.00416.65
7.4.220.0050.00216.75
7.4.210.0090.00716.77
7.4.200.0040.00416.74
7.4.130.0090.01216.53
7.4.120.0210.00316.57
7.4.110.0140.00616.59
7.4.100.0060.01216.59
7.4.90.0140.00316.59
7.4.80.0060.01216.62
7.4.70.0080.01316.41
7.4.60.0000.02016.57
7.4.50.0030.01316.53
7.4.40.0160.00816.48
7.4.30.0070.01016.58
7.4.20.0130.00616.40
7.4.10.0120.00616.79
7.4.00.0040.01516.58
7.3.330.0040.00316.27
7.3.320.0030.00313.19
7.3.310.0030.00416.15
7.3.300.0040.00416.28
7.3.290.0070.01016.30
7.3.260.0030.01316.52
7.3.230.0000.02016.47
7.3.220.0080.01216.22
7.3.210.0090.00916.60
7.3.200.0120.00616.39
7.3.190.0140.00416.62
7.3.180.0090.00916.29
7.3.170.0160.00316.59
7.3.160.0160.00316.16
7.3.150.0090.00916.59
7.3.140.0070.01116.62
7.3.130.0000.01716.34
7.3.120.0140.00516.11
7.3.110.0090.00916.30
7.3.100.0030.01516.41
7.3.90.0100.01416.25
7.3.80.0110.00716.45
7.3.70.0170.00816.36
7.3.60.0120.01216.37
7.3.50.0040.01516.39
7.3.40.0090.00916.19
7.3.30.0090.00916.16
7.3.20.0160.00316.33
7.3.10.0120.00916.27
7.3.00.0110.00816.33
7.2.340.0140.00616.73
7.2.330.0030.01516.65
7.2.320.0100.01016.46
7.2.310.0090.00916.56
7.2.300.0110.00716.45
7.2.290.0100.00916.46
7.2.280.0110.00716.59
7.2.270.0160.00916.49
7.2.260.0130.00616.61
7.2.250.0170.00716.55
7.2.240.0130.00716.61
7.2.230.0060.02016.62
7.2.220.0140.00616.75
7.2.210.0100.01016.50
7.2.200.0100.01316.64
7.2.190.0040.01316.52
7.2.180.0120.00916.57
7.2.170.0090.01016.62
7.2.160.0140.01116.48
7.2.150.0400.01016.53
7.2.140.0070.01316.68
7.2.130.0110.00716.69
7.2.120.0090.00916.67
7.2.110.0150.00616.63
7.2.100.0110.00816.63
7.2.90.0120.00616.63
7.2.80.0100.01016.51
7.2.70.0150.00616.86
7.2.60.0030.01616.67
7.2.50.0070.01316.78
7.2.40.0200.00016.74
7.2.30.0070.01716.72
7.2.20.0070.01416.51
7.2.10.0130.00716.60
7.2.00.0070.01316.57

preferences:
58.46 ms | 400 KiB | 5 Q