3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Ameerpet,|Jeans Corner: 040-50607090@05:45PM/6"; echo sub_str_count($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.70.0070.00716.75
8.3.60.0150.00018.30
8.3.50.0110.00821.92
8.3.40.0070.01018.85
8.3.30.0040.01118.91
8.3.20.0030.00320.16
8.3.10.0090.00020.48
8.3.00.0000.00823.61
8.2.190.0070.00716.63
8.2.180.0090.00616.63
8.2.170.0100.00322.96
8.2.160.0160.00022.13
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0050.00220.87
8.2.120.0040.00426.35
8.2.110.0060.00320.39
8.2.100.0090.00317.93
8.2.90.0000.00819.05
8.2.80.0050.00317.97
8.2.70.0090.00017.48
8.2.60.0000.00817.93
8.2.50.0070.00318.09
8.2.40.0000.00822.11
8.2.30.0030.00319.25
8.2.20.0000.00717.72
8.2.10.0030.00318.00
8.2.00.0070.00017.93
8.1.280.0070.00725.92
8.1.270.0000.00822.06
8.1.260.0050.00328.09
8.1.250.0000.00828.09
8.1.240.0090.00023.95
8.1.230.0040.00817.79
8.1.220.0040.00417.74
8.1.210.0030.00718.77
8.1.200.0060.00317.22
8.1.190.0030.00617.22
8.1.180.0000.00818.10
8.1.170.0030.00818.68
8.1.160.0030.00320.65
8.1.150.0000.00718.85
8.1.140.0060.00319.55
8.1.130.0030.00317.74
8.1.120.0070.00017.44
8.1.110.0060.00317.23
8.1.100.0040.00417.38
8.1.90.0020.00517.35
8.1.80.0030.00317.39
8.1.70.0000.00717.36
8.1.60.0000.00717.48
8.1.50.0040.00417.40
8.1.40.0000.00817.46
8.1.30.0040.00417.68
8.1.20.0050.00317.48
8.1.10.0030.00517.47
8.1.00.0090.00017.50
8.0.300.0000.00818.84
8.0.290.0030.00516.63
8.0.280.0030.00318.38
8.0.270.0000.00717.18
8.0.260.0060.00017.09
8.0.250.0070.00017.01
8.0.240.0070.00016.94
8.0.230.0070.00016.88
8.0.220.0030.00316.75
8.0.210.0040.00416.91
8.0.200.0080.00016.88
8.0.190.0040.00416.92
8.0.180.0070.00016.93
8.0.170.0040.00416.88
8.0.160.0040.00416.91
8.0.150.0040.00416.95
8.0.140.0000.00716.75
8.0.130.0000.00513.31
8.0.120.0050.00316.76
8.0.110.0040.00416.91
8.0.100.0000.00716.93
8.0.90.0070.00016.76
8.0.80.0120.00916.82
8.0.70.0040.00416.91
8.0.60.0070.00016.82
8.0.50.0030.00316.71
8.0.30.0120.00517.08
8.0.20.0120.00817.40
8.0.10.0070.00017.07
8.0.00.0070.01116.63
7.4.330.0050.00016.82
7.4.320.0000.00616.34
7.4.300.0050.00216.39
7.4.290.0000.00716.50
7.4.280.0120.00016.62
7.4.270.0060.00016.57
7.4.260.0060.00316.59
7.4.250.0040.00416.38
7.4.240.0080.00016.40
7.4.230.0050.00216.68
7.4.220.0130.00616.40
7.4.210.0140.00416.46
7.4.200.0080.00016.65
7.4.160.0040.01216.41
7.4.150.0090.00917.40
7.4.140.0120.00717.86
7.4.130.0110.00816.60
7.4.120.0050.01116.54
7.4.110.0100.00716.34
7.4.100.0140.00616.59
7.4.90.0080.00816.59
7.4.80.0150.00519.39
7.4.70.0070.01016.55
7.4.60.0080.00816.49
7.4.50.0030.00916.47
7.4.40.0120.00916.43
7.4.30.0120.00416.56
7.4.00.0070.00715.18
7.3.330.0020.00213.00
7.3.320.0030.00313.00
7.3.310.0030.00316.27
7.3.300.0030.00316.29
7.3.290.0040.01216.27
7.3.280.0060.01116.23
7.3.270.0130.00317.40
7.3.260.0060.01116.31
7.3.250.0060.01116.50
7.3.240.0120.00816.38
7.3.230.0070.01016.39
7.3.210.0070.01116.46
7.3.200.0030.01316.38
7.3.190.0030.01316.29
7.3.180.0060.01116.43
7.3.170.0140.00316.28
7.3.160.0160.00616.42
7.3.10.0100.00316.26
7.3.00.0150.00516.08
7.2.330.0120.01216.74
7.2.320.0150.00616.64
7.2.310.0040.01216.27
7.2.300.0100.00716.34
7.2.290.0090.00616.60
7.2.130.0060.01515.97
7.2.120.0140.00716.88
7.2.110.0090.00915.79
7.2.100.0170.00316.61
7.2.90.0230.00016.07
7.2.80.0060.01316.70
7.2.70.0190.00016.45
7.2.60.0090.00816.63
7.2.50.0130.00616.86
7.2.40.0140.00816.14
7.2.30.0150.01016.34
7.2.20.0160.00316.15
7.2.10.0040.01116.25
7.2.00.0030.01117.79
7.1.250.0090.00915.17
7.1.200.0070.00415.54
7.1.100.0030.01017.90
7.1.70.0000.00817.19
7.1.60.0090.01519.19
7.1.50.0090.00916.86
7.1.00.0070.07322.33
7.0.200.0350.00414.42
7.0.60.0130.07721.69
7.0.50.0070.07717.91
7.0.40.0070.04320.04
7.0.30.0270.03320.09
7.0.20.0300.07320.09
7.0.10.0000.09719.97
7.0.00.0070.04020.21
5.6.280.0000.03720.81
5.6.210.0100.06720.68
5.6.200.0030.04318.19
5.6.190.0170.07320.45
5.6.180.0400.06720.39
5.6.170.0200.07320.41
5.6.160.0000.04720.38
5.6.150.0070.08018.09
5.6.140.0130.06318.17
5.6.130.0070.08318.19
5.6.120.0130.07721.04
5.6.110.0100.06021.11
5.6.100.0070.06721.03
5.6.90.0070.08721.00
5.6.80.0070.06720.48
5.5.350.4400.03320.42
5.5.340.0070.07318.00
5.5.330.0000.05020.06
5.5.320.0400.05720.51
5.5.310.0300.07720.50
5.5.300.0070.06017.92
5.5.290.0100.08017.91
5.5.280.0170.07320.79
5.5.270.0200.06020.75
5.5.260.0030.04720.63
5.5.250.0030.06320.58
5.5.240.0230.04720.25

preferences:
47.13 ms | 401 KiB | 5 Q