3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Ameerpet,|Jeans Corner: 040-50607090@05:45PM/6"; echo strpos($str,"/"); echo substr($str,strpos($str,'@')+1,strpos($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.0090.00618.21
8.3.50.0140.00621.92
8.3.40.0100.00718.80
8.3.30.0090.00618.70
8.3.20.0070.00020.16
8.3.10.0080.00020.48
8.3.00.0040.00423.68
8.2.180.0090.00616.63
8.2.170.0030.01022.96
8.2.160.0070.00721.89
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0050.00320.79
8.2.120.0000.00726.35
8.2.110.0070.00319.20
8.2.100.0040.00817.72
8.2.90.0040.00419.17
8.2.80.0040.00417.97
8.2.70.0080.00017.63
8.2.60.0000.00818.04
8.2.50.0040.00718.09
8.2.40.0060.00322.09
8.2.30.0030.00519.44
8.2.20.0000.00717.73
8.2.10.0040.00417.99
8.2.00.0000.00718.05
8.1.280.0040.01125.92
8.1.270.0030.01021.99
8.1.260.0090.00028.09
8.1.250.0050.00328.09
8.1.240.0040.00423.93
8.1.230.0040.00717.45
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00817.23
8.1.190.0100.00317.10
8.1.180.0040.00418.10
8.1.170.0040.00818.59
8.1.160.0070.00020.57
8.1.150.0000.00718.73
8.1.140.0000.00819.38
8.1.130.0000.00717.66
8.1.120.0000.00717.40
8.1.110.0030.00517.39
8.1.100.0060.00317.34
8.1.90.0030.00317.41
8.1.80.0040.00417.45
8.1.70.0000.00717.42
8.1.60.0000.00717.50
8.1.50.0040.00417.30
8.1.40.0000.00817.48
8.1.30.0080.00017.59
8.1.20.0040.00417.30
8.1.10.0040.00417.56
8.1.00.0070.00417.45
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0070.00018.55
8.0.270.0040.00417.29
8.0.260.0000.00617.29
8.0.250.0030.00316.83
8.0.240.0000.00716.94
8.0.230.0040.00416.89
8.0.220.0070.00016.80
8.0.210.0050.00316.65
8.0.200.0030.00716.93
8.0.190.0000.00816.88
8.0.180.0040.00416.73
8.0.170.0040.00416.83
8.0.160.0000.00716.88
8.0.150.0000.00716.77
8.0.140.0000.00716.78
8.0.130.0030.00313.29
8.0.120.0040.00416.77
8.0.110.0000.00716.73
8.0.100.0050.00316.84
8.0.90.0080.00016.78
8.0.80.0110.00716.80
8.0.70.0070.00016.84
8.0.60.0050.00216.69
8.0.50.0080.00016.85
8.0.30.0090.00716.90
8.0.20.0140.00517.40
8.0.10.0070.00016.82
8.0.00.0110.00716.73
7.4.330.0000.00616.82
7.4.320.0000.00616.51
7.4.300.0030.00316.57
7.4.290.0000.00816.54
7.4.280.0000.01116.53
7.4.270.0030.00316.44
7.4.260.0000.00816.41
7.4.250.0000.00716.39
7.4.240.0070.00016.47
7.4.230.0040.00416.29
7.4.220.0120.00616.47
7.4.210.0060.01316.57
7.4.200.0040.00416.55
7.4.160.0090.00616.53
7.4.150.0090.00917.40
7.4.140.0070.01517.86
7.4.130.0130.00616.36
7.4.120.0100.00816.58
7.4.110.0130.00616.28
7.4.100.0100.00716.37
7.4.90.0130.00316.35
7.4.80.0000.01619.39
7.4.70.0100.00716.51
7.4.60.0070.01316.61
7.4.50.0070.00716.46
7.4.40.0130.00316.57
7.4.30.0130.00616.40
7.4.00.0070.00814.99
7.3.330.0000.00613.04
7.3.320.0030.00313.02
7.3.310.0030.00316.05
7.3.300.0030.00316.07
7.3.290.0070.01016.13
7.3.280.0040.01416.13
7.3.270.0060.01217.40
7.3.260.0150.00916.18
7.3.250.0120.00616.23
7.3.240.0050.01116.18
7.3.230.0120.00616.39
7.3.210.0130.00916.20
7.3.200.0090.00616.31
7.3.190.0060.00916.34
7.3.180.0040.01216.34
7.3.170.0070.01016.29
7.3.160.0070.01516.24
7.3.120.0090.00914.96
7.3.110.0070.01114.71
7.3.100.0090.00614.34
7.3.90.0080.00314.92
7.3.80.0030.00714.63
7.3.70.0030.00614.87
7.3.60.0030.01014.77
7.3.50.0110.00414.59
7.3.40.0110.00314.52
7.3.30.0040.01614.84
7.3.20.0100.00616.24
7.3.10.0070.00716.29
7.3.00.0080.00316.62
7.2.330.0070.01016.46
7.2.320.0060.01016.46
7.2.310.0110.01316.29
7.2.300.0110.00816.29
7.2.290.0070.01016.29
7.2.250.0090.01214.72
7.2.240.0030.01414.96
7.2.230.0100.00714.82
7.2.220.0030.01014.64
7.2.210.0070.00715.09
7.2.200.0000.01414.88
7.2.190.0070.00714.72
7.2.180.0120.00014.81
7.2.170.0060.00914.59
7.2.60.0060.00916.75
7.1.330.0060.00615.80
7.1.320.0080.00315.63
7.1.310.0030.00915.96
7.1.300.0130.00015.81
7.1.290.0070.00715.82
7.1.280.0040.01115.53
7.1.270.0060.01215.88
7.1.260.0000.01615.54
7.1.200.0060.00615.72
7.1.70.0000.00717.25
7.1.60.0070.01719.19
7.1.50.0060.01616.59
7.1.00.0030.07322.30
7.0.200.0420.00414.69
7.0.60.0100.04721.59
7.0.50.0000.07717.79
7.0.40.0030.04720.04
7.0.30.0200.03720.09
7.0.20.0270.07720.09
7.0.10.0070.05019.98
7.0.00.0070.04020.17
5.6.280.0100.05021.12
5.6.210.0030.06320.46
5.6.200.0070.07718.08
5.6.190.0070.05020.67
5.6.180.0300.04720.61
5.6.170.0200.07320.49
5.6.160.0170.07020.61
5.6.150.0070.05018.22
5.6.140.0100.03318.27
5.6.130.0130.07318.18
5.6.120.0000.05321.11
5.6.110.0070.08721.00
5.6.100.0170.07320.98
5.6.90.0070.06720.99
5.6.80.0000.08720.30
5.5.350.4070.04020.42
5.5.340.0030.09017.89
5.5.330.0170.07320.47
5.5.320.0630.06720.29
5.5.310.0300.08320.41
5.5.300.0070.06717.96
5.5.290.0030.05317.95
5.5.280.0130.08020.79
5.5.270.0070.07320.86
5.5.260.0070.08320.88
5.5.250.0100.06320.77
5.5.240.0270.05320.23

preferences:
54.89 ms | 401 KiB | 5 Q