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+4)).'=';

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.0030.01018.63
8.3.30.0110.00418.57
8.3.20.0110.00420.67
8.3.10.0070.00021.77
8.3.00.0070.00317.91
8.2.170.0040.01122.96
8.2.160.0120.00320.52
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00720.58
8.2.120.0100.00326.35
8.2.110.0060.00322.03
8.2.100.0120.00317.91
8.2.90.0030.00619.23
8.2.80.0060.00317.97
8.2.70.0060.00317.63
8.2.60.0000.00918.03
8.2.50.0060.00318.10
8.2.40.0080.00022.32
8.2.30.0040.00419.13
8.2.20.0050.00318.06
8.2.10.0070.00018.04
8.2.00.0070.00018.09
8.1.270.0080.00023.83
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0030.00622.69
8.1.230.0080.00417.83
8.1.220.0040.00417.79
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0030.00617.10
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0000.00718.96
8.1.150.0040.00420.58
8.1.140.0030.00719.59
8.1.130.0000.00718.79
8.1.120.0030.00317.44
8.1.110.0040.00417.49
8.1.100.0000.00717.49
8.1.90.0030.00617.38
8.1.80.0030.00317.37
8.1.70.0030.00317.46
8.1.60.0050.00317.54
8.1.50.0040.00417.52
8.1.40.0040.00417.43
8.1.30.0000.00817.64
8.1.20.0050.00317.68
8.1.10.0060.00317.50
8.1.00.0040.00417.38
8.0.300.0000.00718.77
8.0.290.0020.00516.75
8.0.280.0000.00718.33
8.0.270.0000.00917.25
8.0.260.0060.00016.82
8.0.250.0000.00717.02
8.0.240.0040.00416.93
8.0.230.0030.00316.95
8.0.220.0030.00316.89
8.0.210.0030.00316.82
8.0.200.0000.00716.84
8.0.190.0000.00816.93
8.0.180.0030.00316.95
8.0.170.0070.00016.82
8.0.160.0040.00416.92
8.0.150.0000.00816.91
8.0.140.0030.00316.80
8.0.130.0030.00313.30
8.0.120.0000.00816.75
8.0.110.0040.00416.93
8.0.100.0040.00417.00
8.0.90.0040.00417.00
8.0.80.0070.01116.91
8.0.70.0000.00816.88
8.0.60.0000.00716.86
8.0.50.0070.00016.93
8.0.30.0140.00316.94
8.0.20.0110.00817.40
8.0.10.0000.00716.91
8.0.00.0040.01316.96
7.4.330.0000.00415.55
7.4.320.0000.00616.50
7.4.300.0060.00016.44
7.4.290.0030.00716.58
7.4.280.0000.00816.44
7.4.270.0000.00816.35
7.4.260.0030.00313.24
7.4.250.0000.00716.51
7.4.240.0000.00716.53
7.4.230.0000.00716.34
7.4.220.0060.01016.62
7.4.210.0130.00716.64
7.4.200.0000.00716.35
7.4.160.0090.00616.54
7.4.150.0140.00317.40
7.4.140.0160.00917.86
7.4.130.0070.01116.33
7.4.120.0110.01116.48
7.4.110.0080.01116.44
7.4.100.0040.01416.51
7.4.90.0030.01316.57
7.4.80.0070.01419.39
7.4.70.0040.01216.47
7.4.60.0060.00916.36
7.4.50.0030.01016.31
7.4.40.0090.00616.35
7.4.30.0060.00916.59
7.4.10.0080.01014.75
7.4.00.0110.00714.97
7.3.330.0000.00513.13
7.3.320.0000.00513.13
7.3.310.0000.00716.39
7.3.300.0040.00416.25
7.3.290.0040.01016.21
7.3.280.0070.00816.25
7.3.270.0060.01017.40
7.3.260.0120.00616.29
7.3.250.0100.00916.20
7.3.240.0080.01216.30
7.3.230.0080.01116.47
7.3.210.0100.00716.08
7.3.200.0100.00716.27
7.3.190.0110.00616.54
7.3.180.0080.00816.44
7.3.170.0160.00016.55
7.3.160.0140.00716.25
7.3.130.0050.01214.82
7.3.120.0070.00914.94
7.3.110.0100.00914.78
7.3.100.0030.00814.78
7.3.90.0040.00914.65
7.3.80.0030.00714.64
7.3.70.0040.00714.83
7.3.60.0030.00914.82
7.3.50.0040.00814.62
7.3.40.0080.00814.68
7.3.30.0140.00014.78
7.3.20.0100.00216.60
7.3.10.0040.01016.57
7.3.00.0070.00716.56
7.2.330.0110.00616.43
7.2.320.0100.00716.78
7.2.310.0030.01416.51
7.2.300.0090.03516.79
7.2.290.0120.00416.74
7.2.260.0050.01215.14
7.2.250.0030.01415.03
7.2.240.0050.01015.14
7.2.230.0050.00815.17
7.2.220.0100.00515.09
7.2.210.0050.00514.97
7.2.200.0090.00314.88
7.2.190.0020.01414.78
7.2.180.0070.00715.06
7.2.170.0070.01015.05
7.2.160.0020.01014.91
7.2.150.0040.00716.88
7.2.140.0020.01016.97
7.2.130.0040.01016.84
7.2.120.0080.00716.84
7.2.110.0070.00716.69
7.2.100.0070.00716.91
7.2.90.0080.00616.88
7.2.80.0050.01016.88
7.2.70.0050.00816.96
7.2.60.0060.00716.86
7.2.50.0060.00916.89
7.2.40.0050.00816.96
7.2.30.0080.00516.84
7.2.20.0060.00716.97
7.2.10.0070.00916.90
7.2.00.0050.00817.30
7.1.330.0030.01015.60
7.1.320.0080.00515.63
7.1.310.0060.00615.79
7.1.300.0060.00515.71
7.1.290.0070.00215.63
7.1.280.0010.01115.81
7.1.270.0050.00715.64
7.1.260.0020.01015.67
7.1.250.0050.00815.70
7.1.240.0060.00715.73
7.1.230.0060.00715.75
7.1.220.0060.00615.75
7.1.210.0090.00315.68
7.1.200.0050.00715.72
7.1.190.0070.00615.68
7.1.180.0060.00815.56
7.1.170.0030.01015.71
7.1.160.0050.01015.64
7.1.150.0080.00615.77
7.1.140.0100.00515.71
7.1.130.0050.01015.69
7.1.120.0080.00515.73
7.1.110.0050.01015.78
7.1.100.0060.00816.21
7.1.90.0060.00615.70
7.1.80.0050.00715.81
7.1.70.0040.00816.08
7.1.60.0420.00919.26
7.1.50.0330.01019.14
7.1.40.0350.00919.04
7.1.30.0430.00719.05
7.1.20.0410.00619.10
7.1.10.0410.00715.44
7.1.00.0350.01115.55
7.0.330.0060.00715.29
7.0.320.0050.00815.30
7.0.310.0060.00715.47
7.0.300.0040.00715.34
7.0.290.0070.00415.27
7.0.280.0030.01115.28
7.0.270.0040.00915.18
7.0.260.0060.00515.26
7.0.250.0070.00615.35
7.0.240.0040.01015.38
7.0.230.0000.01115.24
7.0.220.0020.01015.28
7.0.210.0050.00715.34
7.0.200.0460.00715.34
7.0.190.0310.01015.25
7.0.180.0320.00915.23
7.0.170.0380.00815.18
7.0.160.0430.01015.26
7.0.150.0410.00615.15
7.0.140.0390.00715.16
7.0.130.0370.00815.24
7.0.120.0350.00715.20
7.0.110.0320.01015.10
7.0.100.0330.00815.23
7.0.90.0360.00915.15
7.0.80.0350.00815.19
7.0.70.0410.01015.13
7.0.60.0370.00615.05
7.0.50.0420.00715.38
7.0.40.0420.00713.62
7.0.30.0320.00613.64
7.0.20.0450.00713.64
7.0.10.0410.00813.64
7.0.00.0500.00813.59
5.6.400.0050.00914.21
5.6.390.0080.00314.43
5.6.380.0080.00414.29
5.6.370.0040.00914.40
5.6.360.0030.01114.06
5.6.350.0120.00514.15
5.6.340.0060.00814.43
5.6.330.0040.00714.16
5.6.320.0050.00714.24
5.6.310.0060.00514.10
5.6.300.0010.01014.29
5.6.290.0080.00714.06
5.6.280.0040.00914.38
5.6.270.0040.01014.25
5.6.260.0020.01014.34
5.6.250.0080.00514.18
5.6.240.0040.00714.33
5.6.230.0030.01114.26
5.6.220.0030.00914.10
5.6.210.0090.00614.17
5.6.200.0060.00614.33
5.6.190.0050.00814.33
5.6.180.0090.00314.35
5.6.170.0020.01114.00
5.6.160.0070.00814.16
5.6.150.0080.00314.18
5.6.140.0060.00714.40
5.6.130.0020.01014.26
5.6.120.0020.01314.41
5.6.110.0030.01014.35
5.6.100.0030.01014.16
5.6.90.0060.00514.30
5.6.80.0060.00914.30
5.6.70.0040.00914.41
5.6.60.0000.01314.15
5.6.50.0070.00814.21
5.6.40.0050.00814.13
5.6.30.0110.00114.17
5.6.20.0020.01214.11
5.6.10.0060.00814.19
5.6.00.0050.00914.15

preferences:
37.25 ms | 400 KiB | 5 Q