3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string ='85.25.236.97 - - [01/Mar/2017:06:27:05 +0100] "GET /_Resources/Static/Packages/Thirdparty.Solr/JavaScript/lib/jquery-1.10.2.min.js HTTP/1.1" 200 33139 "http://v4.api.apotheken.de/api/9d5b1f07-373b-ab6e-b4aa-d7caa1cdee71/news.html" "Mozilla/5.0 (X11; U; Linux Core i7-4980HQ; de; rv:32.0; compatible; JobboerseBot; http://www.jobboerse.com/bot.htm) Gecko/20100101 Firefox/38.0"'; $test = preg_replace("/(.*)(http:\/\/v4.api.apotheken.de\/api\/)/", "\\2", $string); echo $test;

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.0100.00718.23
8.3.50.0190.00017.89
8.3.40.0120.00918.79
8.3.30.0070.00718.71
8.3.20.0040.00421.91
8.3.10.0080.00021.95
8.3.00.0040.00420.93
8.2.180.0090.00618.54
8.2.170.0040.01122.96
8.2.160.0070.00720.35
8.2.150.0020.00524.18
8.2.140.0000.00924.66
8.2.130.0050.00322.37
8.2.120.0040.00426.35
8.2.110.0100.00721.00
8.2.100.0040.00817.97
8.2.90.0070.00019.05
8.2.80.0040.00417.97
8.2.70.0000.00817.88
8.2.60.0060.00617.93
8.2.50.0080.00018.10
8.2.40.0040.00420.66
8.2.30.0000.00722.25
8.2.20.0040.00418.02
8.2.10.0040.00418.21
8.2.00.0040.00418.36
8.1.280.0160.00625.92
8.1.270.0000.00823.96
8.1.260.0040.00726.35
8.1.250.0070.00028.09
8.1.240.0060.00923.82
8.1.230.0060.00617.70
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0080.00317.38
8.1.190.0040.00417.23
8.1.180.0090.00018.10
8.1.170.0000.00818.56
8.1.160.0040.00418.77
8.1.150.0040.00420.30
8.1.140.0050.00319.55
8.1.130.0000.00718.91
8.1.120.0040.00417.47
8.1.110.0040.00417.54
8.1.100.0040.00417.55
8.1.90.0000.00717.51
8.1.80.0050.00217.50
8.1.70.0070.00017.54
8.1.60.0040.00417.69
8.1.50.0040.00417.51
8.1.40.0040.00417.57
8.1.30.0060.00317.64
8.1.20.0040.00417.77
8.1.10.0000.00717.53
8.1.00.0040.00417.53
8.0.300.0040.00418.77
8.0.290.0060.00316.88
8.0.280.0000.00718.41
8.0.270.0000.00717.29
8.0.260.0030.00317.22
8.0.250.0070.00017.01
8.0.240.0020.00517.13
8.0.230.0000.00717.04
8.0.220.0030.00317.00
8.0.210.0050.00317.02
8.0.200.0030.00317.07
8.0.190.0000.00717.03
8.0.180.0030.00516.92
8.0.170.0030.00316.91
8.0.160.0040.00417.07
8.0.150.0040.00416.91
8.0.140.0070.00016.96
8.0.130.0030.00313.40
8.0.120.0050.00316.98
8.0.110.0050.00216.76
8.0.100.0070.00016.92
8.0.90.0040.00417.04
8.0.80.0110.00316.93
8.0.70.0000.00816.86
8.0.60.0000.00916.85
8.0.50.0070.00016.97
8.0.30.0080.00917.28
8.0.20.0120.01017.40
8.0.10.0070.00016.94
8.0.00.0100.00916.90
7.4.330.0020.00215.55
7.4.320.0060.00016.74
7.4.300.0000.00616.70
7.4.290.0000.00716.66
7.4.280.0000.00816.65
7.4.270.0000.00716.77
7.4.260.0030.00316.73
7.4.250.0030.00316.52
7.4.240.0080.00016.66
7.4.230.0030.00316.54
7.4.220.0120.01116.71
7.4.210.0060.00916.73
7.4.200.0000.00716.66
7.4.160.0060.01316.70
7.4.150.0130.00617.40
7.4.140.0110.01017.86
7.4.130.0060.01216.70
7.4.120.0120.00916.64
7.4.110.0070.01016.38
7.4.100.0070.01116.59
7.4.90.0100.00716.79
7.4.80.0030.01419.39
7.4.70.0170.00016.56
7.4.60.0100.01316.73
7.4.50.0120.00016.64
7.4.40.0160.00616.53
7.4.30.0070.01416.56
7.4.00.0130.00315.31
7.3.330.0060.00013.33
7.3.320.0020.00313.28
7.3.310.0060.00316.45
7.3.300.0030.00316.24
7.3.290.0050.01216.34
7.3.280.0100.01016.40
7.3.270.0070.01017.40
7.3.260.0080.00916.43
7.3.250.0080.00816.55
7.3.240.0080.01216.54
7.3.230.0030.01316.36
7.3.210.0120.00616.61
7.3.200.0060.01016.38
7.3.190.0120.00616.38
7.3.180.0030.01316.46
7.3.170.0040.01216.48
7.3.160.0080.00816.68
7.3.120.0120.00614.93
7.3.110.0140.00314.60
7.3.100.0000.01414.94
7.3.90.0000.01414.87
7.3.80.0030.00914.75
7.3.70.0040.01115.09
7.3.60.0060.00614.73
7.3.50.0090.00314.99
7.3.40.0070.00714.98
7.3.30.0100.00614.92
7.3.20.0040.00716.54
7.3.10.0030.01216.84
7.3.00.0060.01016.95
7.2.330.0090.00916.67
7.2.320.0070.01016.54
7.2.310.0030.01316.81
7.2.300.0060.01216.82
7.2.290.0140.00616.77
7.2.240.0030.01315.33
7.2.230.0060.01014.91
7.2.220.0070.01015.07
7.2.210.0000.01615.13
7.2.200.0000.01715.32
7.2.190.0070.01015.09
7.2.180.0040.01415.10
7.2.170.0060.00915.03
7.2.160.0030.00915.03
7.2.150.0070.01017.07
7.2.140.0070.00716.77
7.2.130.0100.00617.00
7.2.120.0070.01017.13
7.2.110.0080.00616.72
7.2.100.0060.00916.77
7.2.90.0060.00616.95
7.2.80.0080.00616.78
7.2.70.0040.01117.06
7.2.60.0060.00817.16
7.2.50.0080.00717.18
7.2.40.0080.00817.18
7.2.30.0070.01117.09
7.2.20.0070.00717.11
7.2.10.0000.01817.09
7.2.00.0070.01017.03
7.1.330.0040.00716.11
7.1.320.0030.01316.11
7.1.310.0060.00616.05
7.1.300.0030.01315.81
7.1.290.0000.01415.83
7.1.280.0070.00315.94
7.1.270.0110.00315.72
7.1.260.0130.00316.20
7.1.250.0120.00315.76
7.1.200.0070.00716.04
7.1.70.0030.00617.29
7.1.60.0050.00517.58
7.1.20.0270.06040.26
7.1.10.0130.06022.27
7.1.00.0070.06022.32
7.0.200.0130.00316.77
7.0.160.0100.07321.89
7.0.150.0170.06021.86
7.0.140.0100.06021.89
7.0.130.0070.07321.70
7.0.120.0070.07721.87
7.0.110.0100.06321.84
7.0.100.0070.06721.91
7.0.90.0100.06021.88
7.0.80.0000.08721.88
7.0.70.0070.06721.81
7.0.60.0130.07321.84
7.0.50.0130.06021.80
7.0.40.0000.08721.82
7.0.30.0070.08021.89
7.0.20.0130.07721.73
7.0.10.0130.06721.78
7.0.00.0100.07021.77

preferences:
55.26 ms | 401 KiB | 5 Q