3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$test = str_replace('-150wi', '', 'http://marriott2.typepad.com/.a/6a0128763ee05d970c01a511f170d1970c-150wi'); $test = strrchr('http://marriott2.typepad.com/.a/6a0128763ee05d970c01a511f170d1970c-150wi', '-'); var_dump($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.40.0110.00418.63
8.3.30.0100.00318.82
8.3.20.0050.00320.17
8.3.10.0040.00421.85
8.3.00.0080.00017.25
8.2.170.0070.00722.96
8.2.160.0070.00720.58
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0000.00826.16
8.2.120.0000.00721.15
8.2.110.0090.00020.40
8.2.100.0000.01117.78
8.2.90.0080.00017.72
8.2.80.0000.00817.97
8.2.70.0050.00317.38
8.2.60.0090.00317.91
8.2.50.0030.00618.07
8.2.40.0030.00817.68
8.2.30.0000.00717.92
8.2.20.0050.00317.63
8.2.10.0000.00717.98
8.2.00.0000.00717.68
8.1.270.0000.00823.91
8.1.260.0050.00326.35
8.1.250.0050.00228.09
8.1.240.0090.00022.43
8.1.230.0080.00320.97
8.1.220.0080.00017.74
8.1.210.0050.00318.96
8.1.200.0030.00617.35
8.1.190.0000.00917.10
8.1.180.0000.00818.10
8.1.170.0030.00618.54
8.1.160.0050.00322.05
8.1.150.0040.00418.81
8.1.140.0040.00417.22
8.1.130.0000.00717.74
8.1.120.0000.00817.46
8.1.110.0040.00417.27
8.1.100.0000.00717.35
8.1.90.0000.00717.38
8.1.80.0020.00517.43
8.1.70.0070.00017.25
8.1.60.0050.00317.55
8.1.50.0040.00417.34
8.1.40.0040.00417.35
8.1.30.0000.00817.52
8.1.20.0070.00017.49
8.1.10.0040.00417.35
8.1.00.0040.00417.33
8.0.300.0040.00419.91
8.0.290.0000.00716.75
8.0.280.0040.00418.44
8.0.270.0090.00017.19
8.0.260.0000.00617.09
8.0.250.0000.00716.91
8.0.240.0000.00816.82
8.0.230.0030.00316.87
8.0.220.0030.00316.81
8.0.210.0080.00016.80
8.0.200.0040.00416.87
8.0.190.0040.00416.90
8.0.180.0080.00016.89
8.0.170.0040.00416.81
8.0.160.0030.00316.78
8.0.150.0030.00316.68
8.0.140.0080.00316.62
8.0.130.0050.00013.25
8.0.120.0000.00716.72
8.0.110.0080.00016.74
8.0.100.0040.00416.80
8.0.90.0030.00316.72
8.0.80.0030.01416.87
8.0.70.0000.00716.91
8.0.60.0030.00516.71
8.0.50.0040.00416.78
8.0.30.0100.01016.89
8.0.20.0070.01217.40
8.0.10.0030.00516.90
8.0.00.0070.01416.79
7.4.330.0020.00215.00
7.4.320.0060.00016.38
7.4.300.0030.00316.41
7.4.290.0030.00316.51
7.4.280.0000.00716.57
7.4.270.0030.00316.51
7.4.260.0040.00416.35
7.4.250.0000.00716.45
7.4.240.0040.00416.48
7.4.230.0000.00816.54
7.4.220.0070.01416.57
7.4.210.0040.01616.54
7.4.200.0000.00716.43
7.4.160.0100.00616.19
7.4.150.0150.00317.40
7.4.140.0090.00917.86
7.4.130.0070.01016.45
7.4.120.0050.01116.44
7.4.110.0120.00416.54
7.4.100.0100.00716.45
7.4.90.0110.00716.33
7.4.80.0000.01819.39
7.4.70.0100.00716.46
7.4.60.0060.01216.27
7.4.50.0030.00616.21
7.4.40.0180.00016.39
7.4.30.0070.01016.54
7.4.00.0100.00314.90
7.3.330.0050.00013.02
7.3.320.0020.00212.88
7.3.310.0000.00616.13
7.3.300.0070.00016.13
7.3.290.0070.00716.11
7.3.280.0080.01016.17
7.3.270.0030.01417.40
7.3.260.0090.00916.14
7.3.250.0080.00916.32
7.3.240.0110.00816.32
7.3.230.0120.00416.39
7.3.210.0090.00916.31
7.3.200.0030.01219.39
7.3.190.0120.00616.55
7.3.180.0140.00616.13
7.3.170.0090.00916.27
7.3.160.0060.00916.30
7.3.120.0000.01214.33
7.3.110.0100.01014.90
7.3.100.0070.01014.58
7.3.90.0030.00614.44
7.3.80.0030.00614.73
7.3.70.0060.00614.69
7.3.60.0080.00814.65
7.3.50.0090.00314.61
7.3.40.0070.00714.73
7.3.30.0080.00614.58
7.3.20.0040.01216.66
7.3.10.0070.00516.49
7.3.00.0030.00616.57
7.2.330.0040.01216.31
7.2.320.0090.00916.24
7.2.310.0040.01416.58
7.2.300.0070.01016.55
7.2.290.0080.00816.17
7.2.250.0060.01015.02
7.2.240.0060.01215.17
7.2.230.0090.00614.88
7.2.220.0060.00615.08
7.2.210.0030.01314.77
7.2.200.0100.00614.86
7.2.190.0070.00414.92
7.2.180.0070.00714.46
7.2.170.0060.00814.93
7.2.160.0110.00414.96
7.2.150.0100.00016.69
7.2.140.0000.01216.63
7.2.130.0030.00916.84
7.2.120.0050.00816.77
7.2.110.0080.00716.78
7.2.100.0050.01016.80
7.2.90.0060.00716.82
7.2.80.0040.00916.72
7.2.70.0050.00916.71
7.2.60.0020.01216.81
7.2.50.0010.00816.84
7.2.40.0020.01316.80
7.2.30.0080.00616.66
7.2.20.0020.01116.58
7.2.10.0050.00816.62
7.2.00.0070.00717.51
7.1.330.0080.00415.54
7.1.320.0040.00415.66
7.1.310.0000.01515.51
7.1.300.0000.01515.85
7.1.290.0070.00315.64
7.1.280.0060.00615.74
7.1.270.0100.00015.42
7.1.260.0000.01115.90
7.1.250.0030.01215.58
7.1.200.0070.00315.60
7.1.100.0060.00617.84
7.1.70.0000.01116.96
7.1.60.0110.01419.40
7.1.50.0160.02334.75
7.1.00.0030.07722.43
7.0.200.0000.00816.75
7.0.140.0130.06322.07
7.0.60.0200.07319.97
7.0.50.0070.05017.80
7.0.40.0230.07319.98
7.0.30.0670.05020.13
7.0.20.0300.05020.13
7.0.10.0000.05720.00
7.0.00.0030.09020.42
5.6.280.0000.07721.01
5.6.210.0070.05020.61
5.6.200.0070.08018.12
5.6.190.0130.08720.62
5.6.180.0270.05020.67
5.6.170.0170.05320.71
5.6.160.0070.04020.47
5.6.150.0030.08318.10
5.6.140.0100.05018.14
5.6.130.0030.04018.18
5.6.120.0070.04721.09
5.6.110.0030.08020.97
5.6.100.0100.08320.88
5.6.90.0070.09020.96
5.6.80.0100.07720.39
5.5.350.0070.05320.40
5.5.340.0070.07018.02
5.5.330.0130.03720.19
5.5.320.0300.07020.41
5.5.310.0130.04320.24
5.5.300.0070.05017.88
5.5.290.0070.07017.98
5.5.280.0130.06320.79
5.5.270.0130.07720.76
5.5.260.0130.06720.64
5.5.250.0130.03720.46
5.5.240.0170.07720.13
5.4.450.0370.04019.41
5.4.440.0230.04319.09
5.4.430.0400.05019.45
5.4.420.0170.05019.44
5.4.410.0370.04019.08
5.4.400.0530.05019.09
5.4.390.0400.04719.21
5.4.380.0230.06718.49
5.4.370.0430.05718.46
5.4.360.0330.05718.46
5.4.350.0330.06318.69
5.4.340.0300.05018.52
5.4.320.0060.03712.45
5.4.310.0060.04312.45
5.4.300.0040.03912.45
5.4.290.0070.03912.45
5.4.280.0080.03712.35
5.4.270.0050.03812.35
5.4.260.0050.04012.34
5.4.250.0070.03712.34
5.4.240.0080.03612.34
5.4.230.0060.04612.34
5.4.220.0060.03612.34
5.4.210.0100.03912.34
5.4.200.0060.04112.34
5.4.190.0080.03412.33
5.4.180.0070.03612.33
5.4.170.0090.03512.35
5.4.160.0040.04012.34
5.4.150.0050.04412.34
5.4.140.0050.03812.02
5.4.130.0050.04412.01
5.4.120.0080.03711.97
5.4.110.0040.04111.96
5.4.100.0030.03711.96
5.4.90.0050.04211.97
5.4.80.0060.04111.97
5.4.70.0070.04111.96
5.4.60.0020.04811.96
5.4.50.0060.04111.96
5.4.40.0080.03811.95
5.4.30.0070.04611.94
5.4.20.0090.03511.95
5.4.10.0080.03511.95
5.4.00.0100.04111.44
5.3.290.0030.04712.80
5.3.280.0110.04412.71
5.3.270.0110.03912.73
5.3.260.0050.04012.72
5.3.250.0080.03812.71
5.3.240.0080.03512.72
5.3.230.0060.04012.70
5.3.220.0070.04412.68
5.3.210.0080.04812.68
5.3.200.0080.03612.68
5.3.190.0060.03812.68
5.3.180.0080.04712.68
5.3.170.0080.04912.67
5.3.160.0080.04012.68
5.3.150.0050.04212.68
5.3.140.0100.03412.66
5.3.130.0060.04912.66
5.3.120.0060.04212.66
5.3.110.0080.04412.66
5.3.100.0080.04412.11
5.3.90.0060.04012.09
5.3.80.0080.04012.08
5.3.70.0060.03712.07
5.3.60.0070.03612.07
5.3.50.0070.03712.00
5.3.40.0060.04012.00
5.3.30.0090.03511.94
5.3.20.0080.03611.71
5.3.10.0070.03511.69
5.3.00.0070.04611.68
5.2.170.0050.0319.18
5.2.160.0040.0299.18
5.2.150.0030.0329.18
5.2.140.0070.0289.17
5.2.130.0020.0319.14
5.2.120.0060.0279.14
5.2.110.0040.0299.14
5.2.100.0040.0319.14
5.2.90.0050.0349.14
5.2.80.0040.0319.13
5.2.70.0040.0309.13
5.2.60.0060.0319.09
5.2.50.0070.0359.06
5.2.40.0020.0319.04
5.2.30.0040.0319.00
5.2.20.0040.0309.00
5.2.10.0050.0278.92
5.2.00.0040.0298.77
5.1.60.0030.0358.06
5.1.50.0070.0368.05
5.1.40.0070.0248.04
5.1.30.0040.0368.39
5.1.20.0060.0308.41
5.1.10.0040.0278.13
5.1.00.0080.0218.14
5.0.50.0040.0286.61
5.0.40.0020.0206.46
5.0.30.0050.0296.29
5.0.20.0030.0216.25
5.0.10.0030.0256.23
5.0.00.0060.0366.22
4.4.90.0060.0214.78
4.4.80.0020.0214.75
4.4.70.0020.0204.75
4.4.60.0020.0264.76
4.4.50.0030.0144.77
4.4.40.0010.0274.71
4.4.30.0010.0204.76
4.4.20.0080.0154.84
4.4.10.0040.0254.85
4.4.00.0040.0304.75
4.3.110.0030.0164.67
4.3.100.0020.0234.66
4.3.90.0020.0154.63
4.3.80.0020.0334.58
4.3.70.0040.0274.63
4.3.60.0040.0134.63
4.3.50.0020.0174.63
4.3.40.0030.0244.54
4.3.30.0040.0163.28
4.3.20.0000.0183.25
4.3.10.0030.0203.21
4.3.00.0000.01715.91

preferences:
38.42 ms | 400 KiB | 5 Q