3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mystring = '05/07/2017 06:14:22: #1 atualizacao de status da entrega UN085464466BR para a nova situacao 058 em 2017-07-05 06:14:22 [imagens/33/2017/06/30/UN085464466BR.jpg][Sucesso]'; $pos1 = strpos($mystring, ' [imagens'); $pos2 = strpos($mystring, '.jpg]['); echo '='.substr($mystring, $pos1+2, $pos2-$pos1).'=';

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.0170.00316.59
8.3.50.0120.00316.46
8.3.40.0140.00018.82
8.3.30.0090.00618.55
8.3.20.0040.00420.96
8.3.10.0000.00721.74
8.3.00.0040.00718.09
8.2.180.0070.01518.16
8.2.170.0120.00422.96
8.2.160.0110.00620.43
8.2.150.0030.00625.66
8.2.140.0050.00324.66
8.2.130.0000.00920.52
8.2.120.0040.01126.35
8.2.110.0070.00322.20
8.2.100.0120.00017.91
8.2.90.0040.00419.23
8.2.80.0090.00017.97
8.2.70.0040.00417.50
8.2.60.0000.00817.93
8.2.50.0050.00518.10
8.2.40.0040.00422.00
8.2.30.0070.00019.17
8.2.20.0000.00718.11
8.2.10.0040.00418.11
8.2.00.0040.00418.11
8.1.280.0040.01425.92
8.1.270.0030.00523.84
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0180.00322.70
8.1.230.0040.00719.48
8.1.220.0080.00017.80
8.1.210.0000.00818.77
8.1.200.0030.00617.22
8.1.190.0070.00317.23
8.1.180.0060.00318.10
8.1.170.0000.00918.70
8.1.160.0040.00418.96
8.1.150.0050.00220.58
8.1.140.0080.00319.57
8.1.130.0070.00018.87
8.1.120.0020.00517.44
8.1.110.0060.00317.43
8.1.100.0000.00717.52
8.1.90.0030.00617.34
8.1.80.0040.00417.44
8.1.70.0030.00317.49
8.1.60.0000.00817.60
8.1.50.0040.00417.50
8.1.40.0030.00617.50
8.1.30.0040.00417.59
8.1.20.0050.00517.54
8.1.10.0000.00817.52
8.1.00.0040.00417.46
8.0.300.0050.00318.77
8.0.290.0000.00716.58
8.0.280.0070.00018.36
8.0.270.0060.00317.26
8.0.260.0000.00616.82
8.0.250.0070.00016.97
8.0.240.0070.00016.97
8.0.230.0000.00716.83
8.0.220.0030.00316.85
8.0.210.0070.00016.86
8.0.200.0000.00716.91
8.0.190.0040.00416.92
8.0.180.0040.00416.93
8.0.170.0070.00016.92
8.0.160.0040.00416.93
8.0.150.0040.00416.88
8.0.140.0080.00016.80
8.0.130.0000.00513.37
8.0.120.0070.00016.96
8.0.110.0000.00716.76
8.0.100.0000.00816.72
8.0.90.0000.00716.81
8.0.80.0030.01916.85
8.0.70.0040.00416.91
8.0.60.0000.00716.70
8.0.50.0050.00216.85
8.0.30.0080.01117.06
8.0.20.0100.01017.40
8.0.10.0000.00716.84
8.0.00.0080.00816.85
7.4.330.0030.00315.55
7.4.320.0030.00316.55
7.4.300.0030.00316.57
7.4.290.0000.01116.53
7.4.280.0000.00716.56
7.4.270.0070.00016.51
7.4.260.0050.00013.24
7.4.250.0000.00716.47
7.4.240.0070.00016.45
7.4.230.0030.00316.65
7.4.220.0110.00716.47
7.4.210.0030.01716.39
7.4.200.0000.00716.41
7.4.160.0090.00616.53
7.4.150.0110.00717.40
7.4.140.0110.01017.86
7.4.130.0150.00616.34
7.4.120.0140.00416.43
7.4.110.0100.01016.51
7.4.100.0100.00716.45
7.4.90.0100.00916.49
7.4.80.0070.01119.39
7.4.70.0060.00916.35
7.4.60.0120.00316.59
7.4.50.0110.00316.29
7.4.40.0070.01016.47
7.4.30.0060.01016.53
7.4.00.0030.01214.87
7.3.330.0000.00513.02
7.3.320.0060.00012.96
7.3.310.0000.00716.39
7.3.300.0040.00416.22
7.3.290.0080.01016.23
7.3.280.0080.00916.25
7.3.270.0130.00317.40
7.3.260.0100.01016.46
7.3.250.0120.00516.25
7.3.240.0110.00916.35
7.3.230.0140.00316.55
7.3.210.0060.00916.20
7.3.200.0100.00716.53
7.3.190.0160.00316.27
7.3.180.0100.00716.30
7.3.170.0100.00616.48
7.3.160.0100.00616.46
7.3.10.0050.00916.74
7.3.00.0060.00516.66
7.2.330.0060.01216.46
7.2.320.0090.00916.58
7.2.310.0040.01916.78
7.2.300.0030.01316.51
7.2.290.0140.00316.51
7.2.130.0080.01116.88
7.2.120.0060.00616.90
7.2.110.0040.01016.95
7.2.100.0090.00616.77
7.2.90.0060.00416.79
7.2.80.0030.01216.73
7.2.70.0080.00816.75
7.2.60.0040.00816.90
7.2.50.0050.00916.87
7.2.40.0040.01116.64
7.2.30.0020.01216.81
7.2.20.0070.00316.84
7.2.10.0100.00516.81
7.2.00.0030.01017.78
7.1.250.0040.00915.63
7.1.240.0110.00415.73
7.1.230.0070.00715.77
7.1.220.0080.00315.64
7.1.210.0070.00415.78
7.1.200.0080.00615.60
7.1.190.0000.00915.96
7.1.180.0030.00915.70
7.1.170.0060.00615.85
7.1.160.0110.00315.57
7.1.150.0000.01015.57
7.1.140.0040.00815.48
7.1.130.0110.00015.71
7.1.120.0000.00715.52
7.1.110.0030.00715.65
7.1.100.0020.01116.84
7.1.90.0040.00715.79
7.1.80.0030.01015.81
7.1.70.0040.00716.46
7.1.60.1050.01024.50
7.1.50.1320.00824.30
7.1.40.1250.01224.04
7.1.30.1630.00724.07
7.1.20.1380.00824.22
7.1.10.0950.00915.20
7.1.00.0820.00515.16
7.0.330.0030.00615.38
7.0.320.0070.00315.44
7.0.310.0070.00715.34
7.0.300.0070.00315.16
7.0.290.0050.00315.40
7.0.280.0000.00715.40
7.0.270.0070.00315.15
7.0.260.0030.00715.24
7.0.250.0070.00715.64
7.0.240.0050.00515.05
7.0.230.0030.00915.58
7.0.220.0030.00715.40
7.0.210.0040.00715.14
7.0.200.1280.00815.10
7.0.190.1330.00615.04
7.0.180.1260.00814.71
7.0.170.1050.00814.83
7.0.160.1460.00814.76
7.0.150.1050.00914.83
7.0.140.0880.01414.86
7.0.130.1050.00514.94
7.0.120.0700.00915.06
7.0.110.1020.01214.89
7.0.100.0930.01014.90
7.0.90.0830.00814.88
7.0.80.0830.00815.06
7.0.70.0730.01314.76
7.0.60.0700.01014.72
7.0.50.0930.01014.90
7.0.40.1100.01313.85
7.0.30.0980.01213.94
7.0.20.1110.00614.03
7.0.10.0980.01214.07
7.0.00.0790.00314.03
5.6.380.0070.00714.33

preferences:
36.54 ms | 400 KiB | 5 Q