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+9, $pos2-($pos1+9)).'=';

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.0140.00316.63
8.3.50.0120.00316.20
8.3.40.0110.00418.60
8.3.30.0110.00318.59
8.3.20.0000.00820.70
8.3.10.0070.00021.95
8.3.00.0070.00417.78
8.2.180.0070.01418.01
8.2.170.0110.00722.96
8.2.160.0100.00720.35
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0070.00020.35
8.2.120.0040.00426.35
8.2.110.0110.00022.11
8.2.100.0090.00317.77
8.2.90.0000.00819.17
8.2.80.0000.00817.97
8.2.70.0000.00817.63
8.2.60.0090.00018.02
8.2.50.0090.00018.10
8.2.40.0000.00822.20
8.2.30.0000.00819.13
8.2.20.0000.00718.13
8.2.10.0000.00718.05
8.2.00.0000.00718.10
8.1.280.0170.00325.92
8.1.270.0040.00423.96
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0030.00723.92
8.1.230.0110.00022.25
8.1.220.0000.00817.80
8.1.210.0030.00618.77
8.1.200.0030.00617.35
8.1.190.0060.00317.23
8.1.180.0060.00318.10
8.1.170.0040.00418.65
8.1.160.0000.00718.93
8.1.150.0070.00018.89
8.1.140.0030.00619.59
8.1.130.0050.00218.90
8.1.120.0040.00417.36
8.1.110.0020.00517.42
8.1.100.0000.00717.38
8.1.90.0000.00717.34
8.1.80.0000.00717.43
8.1.70.0030.00317.39
8.1.60.0060.00317.47
8.1.50.0000.00817.42
8.1.40.0000.00817.43
8.1.30.0070.00017.67
8.1.20.0040.00417.71
8.1.10.0050.00217.48
8.1.00.0020.00517.39
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0000.00718.50
8.0.270.0030.00317.27
8.0.260.0040.00416.82
8.0.250.0030.00316.95
8.0.240.0040.00416.86
8.0.230.0070.00016.96
8.0.220.0000.00716.87
8.0.210.0030.00316.79
8.0.200.0000.00616.97
8.0.190.0040.00416.97
8.0.180.0040.00416.93
8.0.170.0030.00316.82
8.0.160.0000.00716.80
8.0.150.0050.00316.74
8.0.140.0000.00716.75
8.0.130.0000.00513.28
8.0.120.0000.00716.75
8.0.110.0040.00416.67
8.0.100.0040.00416.96
8.0.90.0040.00416.75
8.0.80.0040.01816.85
8.0.70.0040.00416.67
8.0.60.0000.00816.83
8.0.50.0000.00716.86
8.0.30.0120.00816.92
8.0.20.0100.00917.40
8.0.10.0030.00516.90
8.0.00.0130.00416.80
7.4.330.0000.00615.55
7.4.320.0030.00316.30
7.4.300.0000.00716.41
7.4.290.0040.00816.39
7.4.280.0050.00316.54
7.4.270.0000.00716.45
7.4.260.0000.00613.18
7.4.250.0000.00716.48
7.4.240.0000.00716.46
7.4.230.0030.00316.64
7.4.220.0060.01616.46
7.4.210.0090.00616.52
7.4.200.0000.00716.25
7.4.160.0070.00716.35
7.4.150.0070.01317.40
7.4.140.0180.00817.86
7.4.130.0150.00916.59
7.4.120.0080.01216.50
7.4.110.0080.00816.52
7.4.100.0070.01016.34
7.4.90.0100.00716.49
7.4.80.0130.00919.39
7.4.70.0120.00416.44
7.4.60.0120.00316.40
7.4.50.0040.01516.54
7.4.40.0080.00816.59
7.4.30.0130.00916.34
7.4.10.0060.01016.27
7.4.00.0050.01115.62
7.3.330.0030.00313.01
7.3.320.0020.00213.18
7.3.310.0000.00716.40
7.3.300.0070.00016.30
7.3.290.0050.01116.23
7.3.280.0090.00816.24
7.3.270.0090.00917.40
7.3.260.0150.00816.27
7.3.250.0110.00716.36
7.3.240.0080.00916.38
7.3.230.0160.00016.27
7.3.210.0130.00316.23
7.3.200.0040.01816.16
7.3.190.0060.01016.25
7.3.180.0100.01016.46
7.3.170.0100.01316.48
7.3.160.0030.01416.60
7.3.130.0020.01516.65
7.3.120.0030.01216.45
7.3.110.0080.00616.22
7.3.100.0060.01016.21
7.3.90.0030.01316.39
7.3.80.0040.01116.47
7.3.70.0040.01116.31
7.3.60.0000.01716.34
7.3.50.0060.00916.24
7.3.40.0030.00616.15
7.3.30.0000.01016.34
7.3.20.0120.00318.08
7.3.10.0080.00817.58
7.3.00.0070.00517.32
7.2.330.0120.00616.42
7.2.320.0100.00716.42
7.2.310.0060.01016.36
7.2.300.0120.00916.72
7.2.290.0040.01216.80
7.2.260.0040.01416.65
7.2.250.0120.00916.80
7.2.240.0000.01116.49
7.2.230.0030.01516.58
7.2.220.0090.00916.54
7.2.210.0030.01316.58
7.2.200.0120.00016.59
7.2.190.0030.01316.64
7.2.180.0070.01016.46
7.2.170.0000.01616.43
7.2.160.0130.00316.48
7.2.150.0100.01018.46
7.2.140.0030.00918.36
7.2.130.0050.00617.76
7.2.120.0030.01117.78
7.2.110.0050.00817.66
7.2.100.0080.00417.63
7.2.90.0060.00917.72
7.2.80.0090.00317.63
7.2.70.0040.00817.69
7.2.60.0040.00917.47
7.2.50.0060.00617.49
7.2.40.0050.00917.70
7.2.30.0030.01017.70
7.2.20.0030.01017.66
7.2.10.0040.01217.63
7.2.00.0030.01217.65
7.1.330.0030.00617.33
7.1.320.0070.00317.36
7.1.310.0000.01017.13
7.1.300.0030.01317.18
7.1.290.0040.00817.27
7.1.280.0000.01317.31
7.1.270.0070.00717.30
7.1.260.0090.00617.32
7.1.250.0030.01216.48
7.1.240.0030.00717.21
7.1.230.0000.01117.31
7.1.220.0070.00317.25
7.1.210.0060.00917.22
7.1.200.0070.00716.62
7.1.190.0090.00617.34
7.1.180.0030.01217.14
7.1.170.0060.00617.31
7.1.160.0040.00717.29
7.1.150.0030.01217.39
7.1.140.0000.01517.18
7.1.130.0100.00717.21
7.1.120.0000.01317.15
7.1.110.0110.00317.24
7.1.100.0050.00517.05
7.1.90.0070.00717.38
7.1.80.0070.00717.33
7.1.70.0030.00817.17
7.1.60.1400.00925.13
7.1.50.0920.01325.08
7.1.40.0650.01724.92
7.1.30.0780.01325.09
7.1.20.0880.01124.87
7.1.10.0700.00315.92
7.1.00.0580.01415.90
7.0.330.0040.00416.93
7.0.320.0030.00617.18
7.0.310.0000.00917.05
7.0.300.0060.00616.75
7.0.290.0000.01216.89
7.0.280.0060.00616.75
7.0.270.0090.00816.83
7.0.260.0060.00616.73
7.0.250.0070.00317.23
7.0.240.0000.01316.89
7.0.230.0030.01116.83
7.0.220.0100.01017.10
7.0.210.0030.01216.98
7.0.200.0810.00315.78
7.0.190.0850.00615.90
7.0.180.1720.01315.68
7.0.170.0720.00915.77
7.0.160.0850.00915.57
7.0.150.0620.01215.57
7.0.140.0690.00315.80
7.0.130.0630.00815.77
7.0.120.0670.01215.88
7.0.110.0580.01415.68
7.0.100.0550.01515.67
7.0.90.0570.00515.60
7.0.80.0410.01015.70
7.0.70.0500.01115.64
7.0.60.0510.00715.64
7.0.50.0430.01415.60
7.0.40.0440.00914.74
7.0.30.0380.01114.82
7.0.20.0420.01214.83
7.0.10.0570.01014.74
7.0.00.0480.01314.89
5.6.400.0060.00615.93
5.6.390.0080.00415.85
5.6.380.0060.00615.89
5.6.370.0030.00916.01
5.6.360.0030.00715.70
5.6.350.0030.00915.81
5.6.340.0060.00615.92
5.6.330.0060.00315.82
5.6.320.0070.01115.70
5.6.310.0090.00615.82
5.6.300.0080.00315.82
5.6.290.0000.01015.90
5.6.280.0110.00415.84
5.6.270.0090.00616.13
5.6.260.0070.00315.89
5.6.250.0040.01115.74
5.6.240.0000.01215.70
5.6.230.0120.00315.79
5.6.220.0030.01315.82
5.6.210.0070.00315.74
5.6.200.0000.01015.73
5.6.190.0060.00315.80
5.6.180.0100.00315.79
5.6.170.0070.00315.77
5.6.160.0030.01015.80
5.6.150.0090.00615.86
5.6.140.0030.00915.72
5.6.130.0060.00615.91
5.6.120.0050.00515.57
5.6.110.0000.00915.87
5.6.100.0000.01415.58
5.6.90.0040.01115.71
5.6.80.0060.01215.71
5.6.70.0070.01115.77
5.6.60.0130.00615.78
5.6.50.0070.00315.48
5.6.40.0070.00415.79
5.6.30.0070.00715.68
5.6.20.0030.01015.76
5.6.10.0100.00315.71
5.6.00.0030.00615.60

preferences:
59.06 ms | 400 KiB | 5 Q