3v4l.org

run code in 300+ PHP versions simultaneously
<?php function r($str) { $str=explode('/', $str); $str=explode('.htm?', $str[2]); $str=explode('-', $str[0]); $str=$str[count($str)-1]; echo $str; } r("/kayak/es/husa-ciudad-de-compostela-60337.htm?checkin=2014-05-01&checkout=2014-05-02");

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.0070.01418.09
8.3.50.0030.01121.91
8.3.40.0120.00318.63
8.3.30.0030.01019.23
8.3.20.0070.00020.31
8.3.10.0040.00422.10
8.3.00.0000.00820.73
8.2.180.0110.01116.88
8.2.170.0120.00622.96
8.2.160.0140.00019.34
8.2.150.0040.00424.18
8.2.140.0000.00924.66
8.2.130.0000.00726.16
8.2.120.0040.00419.48
8.2.110.0040.00422.13
8.2.100.0120.00017.84
8.2.90.0040.00419.36
8.2.80.0050.00318.03
8.2.70.0090.00017.63
8.2.60.0040.00417.93
8.2.50.0000.00818.07
8.2.40.0000.00820.07
8.2.30.0070.00018.17
8.2.20.0000.00717.78
8.2.10.0000.00717.80
8.2.00.0040.00417.79
8.1.280.0110.00425.92
8.1.270.0080.00023.99
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0030.00622.61
8.1.230.0030.00920.73
8.1.220.0040.00417.79
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0000.00917.53
8.1.180.0000.00818.65
8.1.170.0040.00418.65
8.1.160.0000.00722.12
8.1.150.0000.00718.59
8.1.140.0020.00517.37
8.1.130.0030.00317.83
8.1.120.0070.00017.35
8.1.110.0040.00417.36
8.1.100.0070.00017.45
8.1.90.0040.00417.35
8.1.80.0030.00317.38
8.1.70.0030.00317.31
8.1.60.0050.00317.56
8.1.50.0060.00317.47
8.1.40.0040.00417.41
8.1.30.0000.00817.52
8.1.20.0040.00417.61
8.1.10.0040.00417.57
8.1.00.0040.00417.52
8.0.300.0030.00318.77
8.0.290.0040.00417.18
8.0.280.0040.00418.45
8.0.270.0030.00317.16
8.0.260.0030.00318.45
8.0.250.0000.00716.86
8.0.240.0040.00416.85
8.0.230.0030.00316.87
8.0.220.0040.00416.80
8.0.210.0040.00416.85
8.0.200.0040.00416.78
8.0.190.0030.00316.91
8.0.180.0030.00316.81
8.0.170.0040.00416.89
8.0.160.0030.00616.88
8.0.150.0000.00716.86
8.0.140.0000.00716.86
8.0.130.0060.00013.32
8.0.120.0040.00416.80
8.0.110.0000.00716.79
8.0.100.0000.00716.82
8.0.90.0080.00016.93
8.0.80.0110.00716.84
8.0.70.0070.00016.82
8.0.60.0040.00416.84
8.0.50.0040.00416.75
8.0.30.0120.00717.16
8.0.20.0130.00517.40
8.0.10.0040.00416.96
8.0.00.0120.00916.86
7.4.330.0050.00015.00
7.4.320.0060.00016.65
7.4.300.0000.00716.50
7.4.290.0040.00416.53
7.4.280.0030.00316.48
7.4.270.0070.00016.64
7.4.260.0040.00416.56
7.4.250.0000.00716.56
7.4.240.0020.00516.53
7.4.230.0030.00316.38
7.4.220.0090.00616.60
7.4.210.0080.00716.48
7.4.200.0070.00016.68
7.4.190.0040.00416.36
7.4.160.0060.00916.54
7.4.150.0160.00317.40
7.4.140.0130.00517.86
7.4.130.0110.00816.46
7.4.120.0130.00416.62
7.4.110.0030.01316.35
7.4.100.0100.01116.63
7.4.90.0100.00716.52
7.4.80.0060.01219.39
7.4.70.0040.01516.59
7.4.60.0130.00316.30
7.4.50.0000.00716.52
7.4.40.0030.01322.77
7.4.30.0100.00616.52
7.4.00.0030.01314.82
7.3.330.0060.00013.37
7.3.320.0000.00613.23
7.3.310.0000.00816.24
7.3.300.0030.00316.31
7.3.290.0070.00716.19
7.3.280.0100.00516.29
7.3.270.0090.00917.40
7.3.260.0120.00616.58
7.3.250.0120.00716.58
7.3.240.0060.01216.58
7.3.230.0100.00716.39
7.3.210.0120.00916.56
7.3.200.0090.01219.39
7.3.190.0100.01316.65
7.3.180.0110.00416.30
7.3.170.0100.01116.33
7.3.160.0030.01716.50
7.3.120.0060.00914.78
7.3.110.0060.01314.75
7.3.100.0060.00914.76
7.3.90.0070.01014.77
7.3.80.0030.01114.92
7.3.70.0040.00714.84
7.3.60.0060.00914.75
7.3.50.0100.00514.80
7.3.40.0040.00814.94
7.3.30.0000.01114.85
7.3.20.0050.00916.69
7.3.10.0090.00516.66
7.3.00.0030.00816.75
7.2.330.0120.00616.79
7.2.320.0080.00816.83
7.2.310.0140.00316.78
7.2.300.0100.00616.63
7.2.290.0090.00916.46
7.2.250.0120.00514.90
7.2.240.0100.00815.20
7.2.230.0090.00615.00
7.2.220.0070.00815.01
7.2.210.0080.00615.12
7.2.200.0080.00515.10
7.2.190.0060.00815.04
7.2.180.0050.00814.99
7.2.170.0050.00915.18
7.2.160.0000.01015.08
7.2.150.0030.00916.94
7.2.140.0120.00317.00
7.2.130.0060.00316.70
7.2.120.0060.00317.01
7.2.110.0070.00416.90
7.2.100.0070.01017.00
7.2.90.0000.01016.86
7.2.80.0070.01016.97
7.2.70.0090.00617.16
7.2.60.0070.00716.84
7.2.50.0040.00817.14
7.2.40.0060.00616.86
7.2.30.0100.00717.22
7.2.20.0100.00317.05
7.2.10.0000.00916.70
7.2.00.0030.01018.09
7.1.330.0060.01115.80
7.1.320.0070.01015.69
7.1.310.0050.00715.78
7.1.300.0060.00515.52
7.1.290.0030.01115.75
7.1.280.0070.00515.88
7.1.270.0050.00815.80
7.1.260.0050.01015.71
7.1.250.0100.00315.87
7.1.240.0030.00615.79
7.1.230.0090.00315.70
7.1.220.0030.01615.88
7.1.210.0090.00615.91
7.1.200.0050.01015.93
7.1.190.0060.00915.85
7.1.180.0100.00315.59
7.1.170.0040.00715.49
7.1.160.0030.01015.63
7.1.150.0040.00715.85
7.1.140.0000.00815.86
7.1.130.0060.00315.71
7.1.120.0000.01615.54
7.1.110.0070.01115.91
7.1.100.0050.00716.99
7.1.90.0060.00315.86
7.1.80.0030.00615.91
7.1.70.0050.00416.42
7.1.60.0020.00917.80
7.1.50.0030.00916.49
7.1.40.0040.00415.80
7.1.30.0090.00615.61
7.1.20.0030.01215.77
7.1.10.0000.01115.69
7.1.00.0030.04219.25
7.0.330.0070.00715.30
7.0.320.0030.01015.33
7.0.310.0070.00715.10
7.0.300.0040.00815.42
7.0.290.0030.01015.43
7.0.280.0070.00715.34
7.0.270.0080.00415.48
7.0.260.0080.00815.33
7.0.250.0030.00715.31
7.0.240.0040.00815.54
7.0.230.0000.01515.42
7.0.220.0050.00515.50
7.0.210.0030.01015.45
7.0.200.0010.00816.08
7.0.190.0030.00515.31
7.0.180.0000.01115.54
7.0.170.0040.00815.37
7.0.160.0030.01015.45
7.0.150.0070.00315.22
7.0.140.0080.03518.78
7.0.130.0030.00915.34
7.0.120.0060.00915.23
7.0.110.0070.01015.44
7.0.100.0000.01315.55
7.0.90.0060.00615.41
7.0.80.0100.00015.47
7.0.70.0030.00715.46
7.0.60.0080.04517.74
7.0.50.0090.04116.49
7.0.40.0160.03716.84
7.0.30.0130.04516.82
7.0.20.0200.03816.72
7.0.10.0190.04216.62
7.0.00.0100.04216.85
5.6.400.0000.01114.34
5.6.390.0110.00414.32
5.6.380.0030.00614.29
5.6.370.0070.00314.21
5.6.360.0070.00714.24
5.6.350.0080.00414.61
5.6.340.0030.00814.63
5.6.330.0060.00314.50
5.6.320.0060.00314.37
5.6.310.0080.00814.16
5.6.300.0100.00314.48
5.6.290.0000.00914.24
5.6.280.0050.03817.62
5.6.270.0090.00614.31
5.6.260.0030.01414.29
5.6.250.0070.00714.62
5.6.240.0120.00014.09
5.6.230.0070.00714.61
5.6.220.0150.00014.50
5.6.210.0050.02317.64
5.6.200.0050.04316.23
5.6.190.0020.04917.24
5.6.180.1800.02317.52
5.6.170.0230.02517.38
5.6.160.0080.02817.54
5.6.150.0050.04716.23
5.6.140.0070.03716.20
5.6.130.0080.03816.34
5.6.120.0070.02717.60
5.6.110.0090.04517.68
5.6.100.0050.02217.85
5.6.90.0050.03717.62
5.6.80.0030.04317.45
5.6.70.0180.04017.18
5.6.60.0030.00714.04
5.6.50.0070.00713.95
5.6.40.0040.01114.55
5.6.30.0030.01014.41
5.6.20.0090.00614.67
5.6.10.0000.01314.27
5.6.00.0050.00314.13
5.5.380.0030.00614.13
5.5.370.0000.01514.08
5.5.360.0090.00313.96
5.5.350.0060.03717.36
5.5.340.0100.03716.15
5.5.330.0050.04517.01
5.5.320.0160.03017.16
5.5.310.0220.03217.32
5.5.300.0030.04716.12
5.5.290.0080.03915.96
5.5.280.0020.04417.41
5.5.270.0030.04717.47
5.5.260.0050.04517.48
5.5.250.0100.04417.33
5.5.240.0080.04617.00
5.5.230.0070.01014.38
5.5.220.0100.00713.89
5.5.210.0080.00414.21
5.5.200.0090.00614.13
5.5.190.0090.00614.31
5.5.180.0040.01113.96
5.5.170.0040.00813.66
5.5.160.0070.00714.08
5.5.150.0090.00614.19
5.5.140.0140.00314.22
5.5.130.0040.00414.23
5.5.120.0090.00613.98
5.5.110.0080.01113.98
5.5.100.0070.01013.73
5.5.90.0030.01314.23
5.5.80.0000.00814.13
5.5.70.0050.00513.74
5.5.60.0040.01113.71
5.5.50.0110.00713.83
5.5.40.0000.01114.23
5.5.30.0090.00014.19
5.5.20.0000.01113.92
5.5.10.0050.00513.51
5.5.00.0000.01714.29
5.4.450.0440.03215.26
5.4.440.0450.03115.28
5.4.430.0420.03515.40
5.4.420.0260.03615.41
5.4.410.0380.02915.11
5.4.400.0430.00314.93
5.4.390.0350.00815.07
5.4.380.0150.03114.82
5.4.370.0100.03514.86
5.4.360.0180.03014.87
5.4.350.0130.03014.80
5.4.340.0160.02514.69
5.4.330.0000.01010.87
5.4.320.0080.02211.69
5.4.310.0050.02511.79
5.4.300.0070.02311.76
5.4.290.0060.01911.71
5.4.280.0080.02211.62
5.4.270.0070.01911.69
5.4.260.0060.02511.62
5.4.250.0050.02411.76
5.4.240.0070.01911.72
5.4.230.0060.02211.69
5.4.220.0050.02511.79
5.4.210.0040.03011.63
5.4.200.0060.02411.62
5.4.190.0060.02011.62
5.4.180.0060.02111.61
5.4.170.0040.02311.62
5.4.160.0030.02111.62
5.4.150.0050.02111.61
5.4.140.0020.02511.46
5.4.130.0050.02411.45
5.4.120.0030.02311.60
5.4.110.0060.01811.51
5.4.100.0020.02111.43
5.4.90.0050.02411.60
5.4.80.0030.02211.55
5.4.70.0030.02411.43
5.4.60.0050.02011.49
5.4.50.0060.02411.52
5.4.40.0040.02111.52
5.4.30.0050.02411.53
5.4.20.0060.02011.57
5.4.10.0050.01811.42
5.4.00.0040.02611.16
5.3.290.0080.02111.84
5.3.280.0040.02311.79
5.3.270.0060.02211.80
5.3.260.0040.02411.80
5.3.250.0040.02311.79
5.3.240.0010.02511.79
5.3.230.0070.02311.79
5.3.220.0050.02211.78
5.3.210.0050.02511.78
5.3.200.0040.02211.78
5.3.190.0080.02611.77
5.3.180.0110.02311.77
5.3.170.0050.03211.77
5.3.160.0060.02911.77
5.3.150.0070.02511.77
5.3.140.0080.02311.77
5.3.130.0030.03111.76
5.3.120.0080.02811.76
5.3.110.0090.02711.76
5.3.100.0040.02711.49
5.3.90.0060.02811.47
5.3.80.0060.02011.47
5.3.70.0060.02311.47
5.3.60.0080.02811.47
5.3.50.0090.02511.44
5.3.40.0070.02811.44
5.3.30.0050.02311.41
5.3.20.0050.02111.30
5.3.10.0060.01911.29
5.3.00.0040.02111.28
5.2.170.0070.0419.19
5.2.160.0070.0369.18
5.2.150.0060.0379.18
5.2.140.0020.0419.18
5.2.130.0090.0289.14
5.2.120.0050.0329.14
5.2.110.0040.0329.15
5.2.100.0050.0419.14
5.2.90.0110.0369.14
5.2.80.0050.0349.14
5.2.70.0030.0339.14
5.2.60.0050.0399.09
5.2.50.0050.0329.07
5.2.40.0070.0289.04
5.2.30.0050.0299.02
5.2.20.0080.0269.00
5.2.10.0050.0298.92
5.2.00.0030.0318.78
5.1.60.0060.0238.07
5.1.50.0030.0278.06
5.1.40.0020.0268.05
5.1.30.0050.0288.39
5.1.20.0100.0258.41
5.1.10.0060.0278.15
5.1.00.0070.0348.14
5.0.50.0050.0286.61
5.0.40.0050.0266.48
5.0.30.0050.0436.29
5.0.20.0060.0266.26
5.0.10.0070.0266.24
5.0.00.0050.0396.23
4.4.90.0030.0224.78
4.4.80.0040.0214.75
4.4.70.0050.0204.75
4.4.60.0010.0184.76
4.4.50.0060.0184.77
4.4.40.0030.0324.70
4.4.30.0040.0204.76
4.4.20.0040.0284.84
4.4.10.0020.0174.85
4.4.00.0030.0264.76
4.3.110.0090.0234.67
4.3.100.0060.0194.67
4.3.90.0050.0194.63
4.3.80.0080.0304.58
4.3.70.0050.0214.63
4.3.60.0070.0204.62
4.3.50.0020.0184.63
4.3.40.0060.0304.54
4.3.30.0030.0223.29
4.3.20.0030.0203.27
4.3.10.0030.0203.24
4.3.00.0100.0235.68

preferences:
42.37 ms | 401 KiB | 5 Q