3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "http://www.google.co.in/#hl=en&gs_rn=12&gs_ri=psy-ab&pq=bus%20online%20booking&cp=8&gs_id=20&xhr=t&q=redbus+offer+code&es_nrs=true&pf=p&sclient=psy-ab&oq=redbus+o&gs_l=&pbx=1&bav=on.2,or.r_qf.&bvm=bv.45960087,d.bmk&fp=e8cb228a72cb543b&biw=1280&bih=685"; $string = "http://www.google.co.in/#hl=en&gs_rn=12&gs_ri=psy-ab&pq=bus%20online%20booking&cp=8&gs_id=20&xhr=t&q=redbus+offer+code&es_nrs=true&pf=p&sclient=psy-ab&oq=redbus+o&gs_l=&pbx=1&bav=on.2,or.r_qf.&bvm=bv.45960087,d.bmk&fp=e8cb228a72cb543b&biw=1280&bih=685"; var_dump(parse_url($string)); $regex = "/q=(.*?)&/"; preg_match($regex, $string, $matches); var_dump($matches);

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.0160.00618.31
8.3.50.0210.00822.00
8.3.40.0030.01218.79
8.3.30.0190.00318.96
8.3.20.0070.00720.18
8.3.10.0000.00823.52
8.3.00.0050.00322.50
8.2.180.0040.01217.00
8.2.170.0180.00319.09
8.2.160.0140.00022.96
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0000.00917.61
8.2.110.0150.00320.36
8.2.100.0040.00817.84
8.2.90.0050.00319.13
8.2.80.0030.00717.97
8.2.70.0040.00917.50
8.2.60.0000.00917.80
8.2.50.0000.00818.07
8.2.40.0040.00417.91
8.2.30.0050.00318.08
8.2.20.0040.00417.71
8.2.10.0030.00517.77
8.2.00.0000.00817.67
8.1.280.0110.01125.92
8.1.270.0040.00423.79
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0080.00022.19
8.1.230.0080.00422.07
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0000.00917.35
8.1.190.0000.00817.28
8.1.180.0040.00418.10
8.1.170.0000.00818.51
8.1.160.0070.00021.84
8.1.150.0030.00718.76
8.1.140.0060.00317.53
8.1.130.0050.00217.72
8.1.120.0000.00717.52
8.1.110.0080.00017.52
8.1.100.0050.00217.53
8.1.90.0050.00217.55
8.1.80.0050.00217.54
8.1.70.0070.00017.52
8.1.60.0030.00617.70
8.1.50.0040.00417.58
8.1.40.0080.00017.51
8.1.30.0040.00417.54
8.1.20.0030.00517.77
8.1.10.0000.00817.68
8.1.00.0050.00317.48
8.0.300.0000.00718.77
8.0.290.0040.00417.05
8.0.280.0070.00018.46
8.0.270.0040.00416.95
8.0.260.0090.00016.89
8.0.250.0000.00817.00
8.0.240.0030.00316.91
8.0.230.0030.00317.08
8.0.220.0040.00416.94
8.0.210.0030.00516.97
8.0.200.0030.00316.96
8.0.190.0030.00417.04
8.0.180.0040.00416.89
8.0.170.0030.00616.97
8.0.160.0000.00716.84
8.0.150.0040.00416.96
8.0.140.0030.00516.87
8.0.130.0060.00013.34
8.0.120.0050.00316.89
8.0.110.0030.00516.96
8.0.100.0020.00516.94
8.0.90.0030.00316.87
8.0.80.0150.00916.91
8.0.70.0000.00716.85
8.0.60.0040.00416.77
8.0.50.0000.00816.77
8.0.30.0110.00817.12
8.0.20.0080.01217.40
8.0.10.0040.00417.04
8.0.00.0130.00616.76
7.4.330.0050.00015.00
7.4.320.0070.00016.64
7.4.300.0030.00316.72
7.4.290.0070.00016.64
7.4.280.0000.00716.71
7.4.270.0080.00016.64
7.4.260.0000.00816.54
7.4.250.0040.00416.73
7.4.240.0020.00616.60
7.4.230.0030.00316.65
7.4.220.0090.00916.83
7.4.210.0040.01116.76
7.4.200.0040.00416.77
7.4.190.0030.00316.69
7.4.160.0070.01016.63
7.4.150.0130.00517.40
7.4.140.0100.01017.86
7.4.130.0090.00816.75
7.4.120.0120.00416.74
7.4.110.0140.00316.81
7.4.100.0140.00716.62
7.4.90.0140.00416.44
7.4.80.0030.01316.67
7.4.70.0030.01316.46
7.4.60.0120.00616.69
7.4.50.0040.00416.70
7.4.40.0070.00322.77
7.4.30.0130.00316.56
7.4.00.0060.01014.89
7.3.330.0050.00013.22
7.3.320.0060.00013.21
7.3.310.0040.00416.14
7.3.300.0070.00016.32
7.3.290.0060.00916.27
7.3.280.0040.01116.31
7.3.270.0090.00917.40
7.3.260.0110.00716.28
7.3.250.0100.00816.54
7.3.240.0070.01016.66
7.3.230.0100.00616.39
7.3.210.0100.01016.61
7.3.200.0140.00419.39
7.3.190.0120.00916.47
7.3.180.0190.00016.74
7.3.170.0060.00916.48
7.3.160.0040.01216.34
7.3.120.0060.01014.61
7.3.00.0070.00716.44
7.2.330.0090.00916.61
7.2.320.0120.00616.48
7.2.310.0090.00916.58
7.2.300.0090.00616.57
7.2.290.0130.00316.69
7.2.130.0060.00616.74
7.2.120.0030.00716.84
7.2.110.0060.00916.55
7.2.100.0030.01016.68
7.2.90.0070.01116.93
7.2.80.0040.01316.57
7.2.70.0030.01116.84
7.2.60.0050.00816.90
7.2.50.0060.01016.86
7.2.40.0040.00816.95
7.2.30.0030.00916.91
7.2.20.0020.00716.89
7.2.10.0080.00516.64
7.2.00.0050.00918.13
7.1.250.0070.00715.90
7.1.240.0080.00415.66
7.1.230.0030.00715.64
7.1.220.0030.00915.91
7.1.210.0080.00015.68
7.1.200.0060.00615.90
7.1.190.0000.01315.89
7.1.180.0030.01015.63
7.1.170.0040.00815.89
7.1.160.0040.00815.89
7.1.150.0060.00615.73
7.1.140.0050.00515.64
7.1.130.0040.00815.82
7.1.120.0030.01315.70
7.1.110.0100.00615.85
7.1.100.0020.01116.99
7.1.90.0060.00615.89
7.1.80.0090.00315.98
7.1.70.0040.00716.59
7.1.60.0070.00516.50
7.1.50.0300.00615.55
7.1.40.0210.00515.63
7.1.30.0290.00615.59
7.1.20.0330.00215.56
7.1.10.0220.00715.65
7.1.00.0180.00915.60
7.0.330.0040.00815.36
7.0.320.0120.00015.08
7.0.310.0050.00515.04
7.0.300.0030.00615.29
7.0.290.0110.00015.38
7.0.280.0070.00715.26
7.0.270.0000.01415.43
7.0.260.0110.00415.35
7.0.250.0030.00615.39
7.0.240.0030.01315.29
7.0.230.0080.00415.31
7.0.220.0070.00715.52
7.0.210.0000.01215.23
7.0.200.0240.00615.23
7.0.190.0240.00615.28
7.0.180.0240.00815.31
7.0.170.0280.00515.31
7.0.160.0220.01115.25
7.0.150.0240.00815.30
7.0.140.0230.00715.46
7.0.130.0190.00815.35
7.0.120.0250.00915.42
7.0.110.0310.00715.48
7.0.100.0300.00615.38
7.0.90.0290.00615.35
7.0.80.0330.00415.33
7.0.70.0370.00515.38
7.0.60.0350.00415.29
7.0.50.0380.00615.43
7.0.40.0100.01014.54
7.0.30.0060.00914.48
7.0.20.0090.00814.47
7.0.10.0070.01014.51
7.0.00.0050.01014.44
5.6.380.0060.00614.17
5.6.370.0130.00414.14
5.6.360.0120.00614.08
5.6.350.0070.00914.18
5.6.340.0080.00514.17
5.6.330.0090.00314.38
5.6.320.0060.00614.63
5.6.310.0110.00414.08
5.6.300.0030.04717.56
5.6.290.0080.02317.42
5.6.280.0080.02217.71
5.6.270.0070.02917.54
5.6.260.0120.03717.46
5.6.250.0150.03217.64
5.6.240.0030.03017.48
5.6.230.0080.02417.62
5.6.220.0120.02017.50
5.6.210.0020.02817.58
5.6.200.0070.02817.57
5.6.190.0050.03117.57
5.6.180.0030.03017.70
5.6.170.0080.04717.58
5.6.160.0050.02617.50
5.6.150.0050.02817.45
5.6.140.0050.02917.71
5.6.130.0080.02917.75
5.6.120.0090.02517.64
5.6.110.0070.02917.62
5.6.100.0050.02617.51
5.6.90.0070.02317.63
5.6.80.0010.02817.21
5.6.70.0030.02817.26
5.6.60.0100.02017.43
5.6.50.0110.01817.27
5.6.40.0040.02617.14
5.6.30.0060.02517.17
5.6.20.0010.02917.29
5.6.10.0060.02317.06
5.6.00.0020.03117.16
5.5.380.0070.02214.18
5.5.370.0080.02214.23
5.5.360.0070.02414.16
5.5.350.0020.02914.19
5.5.340.0170.02614.60
5.5.330.0030.02714.43
5.5.320.0070.02914.30
5.5.310.0070.02514.30
5.5.300.0080.01914.46
5.5.290.0030.02514.51
5.5.280.0020.02814.56
5.5.270.0080.02614.35
5.5.260.0160.02114.46
5.5.250.0030.03214.37
5.5.240.0050.02114.21
5.5.230.0030.02414.15
5.5.220.0030.02414.01
5.5.210.0040.02314.06
5.5.200.0050.01914.13
5.5.190.0050.02214.12
5.5.180.0100.02113.98
5.5.170.0000.00810.90
5.5.160.0030.03514.17
5.5.150.0050.02114.05
5.5.140.0020.02514.18
5.5.130.0050.02114.10
5.5.120.0070.02114.09
5.5.110.0070.02114.11
5.5.100.0080.02114.15
5.5.90.0070.02014.09
5.5.80.0020.02514.10
5.5.70.0050.02114.04
5.5.60.0020.02814.10
5.5.50.0050.02114.13
5.5.40.0030.02314.04
5.5.30.0080.01914.09
5.5.20.0110.02014.08
5.5.10.0030.02413.99
5.5.00.0040.02314.08
5.4.450.0010.02815.15
5.4.440.0000.03115.07
5.4.430.0050.02515.19
5.4.420.0030.02515.19
5.4.410.0050.02715.12
5.4.400.0080.02014.97
5.4.390.0080.01914.94
5.4.380.0090.02014.91
5.4.370.0080.02214.86
5.4.360.0080.01814.97
5.4.350.0100.03614.95
5.4.340.0130.02315.00
5.4.330.0000.01110.90
5.4.320.0050.03614.97
5.4.310.0030.02414.89
5.4.300.0020.02514.98
5.4.290.0060.02014.98
5.4.280.0020.02314.89
5.4.270.0130.02414.98
5.4.260.0050.01915.05
5.4.250.0060.02014.90
5.4.240.0050.02015.05
5.4.230.0070.02114.88
5.4.220.0030.02914.94
5.4.210.0030.02414.97
5.4.200.0030.02914.98
5.4.190.0090.01914.86
5.4.180.0020.04514.95
5.4.170.0110.01414.95
5.4.160.0030.02314.90
5.4.150.0020.02614.98
5.4.140.0130.02313.72
5.4.130.0040.02113.65
5.4.120.0030.02513.67
5.4.110.0060.02113.74
5.4.100.0030.02313.74
5.4.90.0060.02013.74
5.4.80.0050.02413.70
5.4.70.0000.03013.81
5.4.60.0020.02413.70
5.4.50.0020.02413.72
5.4.40.0020.02513.72
5.4.30.0020.02413.76
5.4.20.0050.02713.74
5.4.10.0000.02413.79
5.4.00.0040.01913.39
5.3.290.0070.01913.09
5.3.280.0020.02413.09
5.3.270.0020.02513.09
5.3.260.0050.02713.09
5.3.250.0030.02213.09
5.3.240.0080.02013.09
5.3.230.0040.02113.09
5.3.220.0060.01813.09
5.3.210.0060.01813.09
5.3.200.0040.02013.09
5.3.190.0050.02313.09
5.3.180.0030.02113.09
5.3.170.0040.02013.09
5.3.160.0020.02413.09
5.3.150.0050.02213.09
5.3.140.0080.01813.09
5.3.130.0060.01813.09
5.3.120.0060.01913.09
5.3.110.0040.02313.09
5.3.100.0050.02013.09
5.3.90.0020.02413.09
5.3.80.0100.01813.09
5.3.70.0020.03313.09
5.3.60.0060.01913.09
5.3.50.0070.01713.09
5.3.40.0030.02213.09
5.3.30.0030.02313.09
5.3.20.0060.01713.09
5.3.10.0040.02313.09
5.3.00.0050.01813.09
5.2.170.0020.02013.09
5.2.160.0020.02013.09
5.2.150.0040.01513.09
5.2.140.0050.01813.09
5.2.130.0040.01713.09
5.2.120.0020.01713.09
5.2.110.0000.01813.09
5.2.100.0160.00813.09
5.2.90.0030.01713.09
5.2.80.0020.01913.09
5.2.70.0060.01713.09
5.2.60.0050.01513.09
5.2.50.0150.01113.09
5.2.40.0040.01613.09
5.2.30.0020.01913.09
5.2.20.0030.01913.09
5.2.10.0020.01713.09
5.2.00.0020.02113.09
5.1.60.0020.01713.09
5.1.50.0070.00913.09
5.1.40.0010.01513.09
5.1.30.0030.01513.09
5.1.20.0000.01713.09
5.1.10.0050.01413.09
5.1.00.0070.01213.09
5.0.50.0050.00913.09
5.0.40.0020.01513.09
5.0.30.0050.01513.09
5.0.20.0000.01413.09
5.0.10.0020.01513.09
5.0.00.0080.01313.09
4.4.90.0020.01113.09
4.4.80.0000.01213.09
4.4.70.0030.00813.09
4.4.60.0000.01113.09
4.4.50.0020.01113.09
4.4.40.0030.01813.09
4.4.30.0020.01113.09
4.4.20.0000.01413.09
4.4.10.0020.01113.09
4.4.00.0030.01313.09
4.3.110.0020.01213.09
4.3.100.0000.01313.09
4.3.90.0010.01013.09
4.3.80.0030.01313.09
4.3.70.0030.01013.09
4.3.60.0010.01113.09
4.3.50.0090.00513.09
4.3.40.0040.01313.09
4.3.30.0020.00813.09
4.3.20.0020.01013.09
4.3.10.0010.01113.09
4.3.00.0030.01113.09

preferences:
38.84 ms | 401 KiB | 5 Q