3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t1 = "http://fashion/ru/items/2"; $t2 = "http://fashion/logout"; //stripos //strpos 5.5.0 0,011 s 0,048 s 12,633 MiB | 5.5.0 0,019 s 0,040 s 12,633 MiB //strripos 5.5.0 0,014 s 0,044 s 12,629 MiB | 5.5.0 0,010 s 0,049 s 12,633 MiB //strstr 5.5.0 0,029 s 0,092 s 12,633 MiB | 5.5.0 0,021 s 0,039 s 12,633 MiB if(stripos($t2,"logout")){ echo "true"; }

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.00318.40
8.3.50.0120.00521.02
8.3.40.0040.01118.57
8.3.30.0090.01218.46
8.3.20.0050.00318.78
8.3.10.0060.00320.93
8.3.00.0070.00021.91
8.2.180.0070.01116.32
8.2.170.0070.00722.96
8.2.160.0040.01120.11
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0070.00021.04
8.2.110.0070.00320.41
8.2.100.0110.00017.91
8.2.90.0000.00719.22
8.2.80.0060.00317.97
8.2.70.0000.01017.63
8.2.60.0070.00318.04
8.2.50.0080.00018.07
8.2.40.0030.00618.34
8.2.30.0070.00021.11
8.2.20.0070.00017.66
8.2.10.0030.00517.63
8.2.00.0030.00617.62
8.1.280.0120.00325.92
8.1.270.0070.00723.99
8.1.260.0090.00026.35
8.1.250.0000.00828.09
8.1.240.0050.00522.47
8.1.230.0040.00720.95
8.1.220.0060.00318.77
8.1.210.0060.00318.85
8.1.200.0030.00617.35
8.1.190.0040.00417.41
8.1.180.0000.00818.10
8.1.170.0040.00418.59
8.1.160.0000.00818.77
8.1.150.0040.00418.61
8.1.140.0040.00417.35
8.1.130.0040.00417.82
8.1.120.0000.00717.29
8.1.110.0050.00317.36
8.1.100.0040.00417.43
8.1.90.0000.00717.42
8.1.80.0050.00317.29
8.1.70.0030.00317.37
8.1.60.0070.00417.60
8.1.50.0040.00417.46
8.1.40.0040.00417.48
8.1.30.0000.00817.59
8.1.20.0000.00817.50
8.1.10.0000.00817.50
8.1.00.0040.00417.34
8.0.300.0000.00719.94
8.0.290.0040.00417.04
8.0.280.0050.00218.42
8.0.270.0030.00317.27
8.0.260.0030.00516.74
8.0.250.0040.00416.92
8.0.240.0030.00616.89
8.0.230.0030.00316.80
8.0.220.0040.00416.76
8.0.210.0070.00016.79
8.0.200.0000.00716.90
8.0.190.0040.00416.93
8.0.180.0050.00216.87
8.0.170.0040.00416.78
8.0.160.0030.00416.84
8.0.150.0000.00716.70
8.0.140.0040.00416.82
8.0.130.0030.00313.30
8.0.120.0050.00316.83
8.0.110.0000.00716.78
8.0.100.0050.00216.89
8.0.90.0070.00016.86
8.0.80.0120.00316.81
8.0.70.0000.00716.67
8.0.60.0050.00216.86
8.0.50.0000.00716.66
8.0.30.0070.01217.08
8.0.20.0060.01117.40
8.0.10.0070.00016.93
8.0.00.0090.00816.60
7.4.330.0000.00516.78
7.4.320.0070.00016.49
7.4.300.0030.00316.53
7.4.290.0000.00716.55
7.4.280.0030.00316.44
7.4.270.0030.00316.47
7.4.260.0050.00013.23
7.4.250.0070.00016.39
7.4.240.0030.00316.53
7.4.230.0030.00316.55
7.4.220.0100.01016.32
7.4.210.0100.00816.50
7.4.200.0000.00716.64
7.4.190.0000.00716.64
7.4.160.0140.00316.36
7.4.150.0120.01217.40
7.4.140.0120.00917.86
7.4.130.0100.00616.32
7.4.120.0080.00916.44
7.4.110.0080.00816.34
7.4.100.0030.01316.26
7.4.90.0100.00716.34
7.4.80.0060.01619.39
7.4.70.0120.00616.50
7.4.60.0100.00716.33
7.4.50.0030.00616.48
7.4.40.0060.00922.77
7.4.30.0030.01316.58
7.4.00.0040.01114.84
7.3.330.0030.00313.06
7.3.320.0050.00013.13
7.3.310.0000.00716.19
7.3.300.0000.00616.13
7.3.290.0130.00616.09
7.3.280.0090.00816.13
7.3.270.0060.01017.40
7.3.260.0100.01118.24
7.3.250.0040.01616.47
7.3.240.0120.00916.47
7.3.230.0080.00916.39
7.3.210.0100.01316.46
7.3.200.0070.01419.39
7.3.190.0130.00716.28
7.3.180.0090.00616.36
7.3.170.0080.00816.38
7.3.160.0110.01116.36
7.3.120.0000.01414.71
7.3.10.0030.01016.36
7.3.00.0070.00716.43
7.2.330.0090.01316.59
7.2.320.0070.01016.51
7.2.310.0040.01416.52
7.2.300.0130.00316.31
7.2.290.0110.00816.68
7.2.130.0030.00916.70
7.2.120.0000.01416.75
7.2.110.0040.01116.78
7.2.100.0090.00616.59
7.2.90.0040.01216.62
7.2.80.0090.00616.88
7.2.70.0040.00716.67
7.2.60.0030.01016.59
7.2.50.0060.00316.86
7.2.40.0030.00916.67
7.2.30.0090.00316.73
7.2.20.0040.01116.52
7.2.10.0090.00916.86
7.2.00.0060.00316.80
7.1.250.0030.01015.76
7.1.70.0060.00917.24
7.1.60.0030.01319.40
7.1.50.0040.02116.78
7.1.00.0000.04722.28
7.0.200.0000.00716.57
7.0.140.0000.07322.00
7.0.70.0070.08021.70
7.0.60.0030.04321.73
7.0.50.0070.08722.18
7.0.40.0070.09020.15
7.0.30.0030.04720.03
7.0.20.0030.06020.10
7.0.10.0030.05720.04
7.0.00.0030.05319.95
5.6.280.0100.06720.98
5.6.220.0030.08720.57
5.6.210.0000.08320.75
5.6.200.0030.09021.11
5.6.190.0000.09321.03
5.6.180.0170.07721.03
5.6.170.0030.07720.94
5.6.160.0070.04021.07
5.6.150.0070.08321.12
5.6.140.0030.08021.01
5.6.130.0070.05721.04
5.6.120.0100.08021.11
5.6.110.0070.07021.05
5.6.100.0030.06320.93
5.6.90.0100.07721.15
5.6.80.0030.04320.41
5.6.70.0070.07320.50
5.6.60.0100.07320.45
5.6.50.0100.05020.45
5.6.40.0070.07720.37
5.6.30.0070.08020.49
5.6.20.0030.08320.43
5.6.10.0130.07020.45
5.6.00.0030.04720.47
5.5.360.0130.06720.55
5.5.350.0100.08020.41
5.5.340.0000.08320.76
5.5.330.0130.06020.91
5.5.320.0100.06320.88
5.5.310.0070.08020.77
5.5.300.0030.08320.89
5.5.290.0030.08720.82
5.5.280.0100.07720.88
5.5.270.0070.06320.81
5.5.260.0070.05720.79
5.5.250.0130.05020.71
5.5.240.0100.04320.23
5.5.230.0000.08020.20
5.5.220.0100.07020.29
5.5.210.0000.06020.17
5.5.200.0030.07720.23
5.5.190.0130.06320.22
5.5.180.0070.08020.12
5.5.160.0070.07320.14
5.5.150.0000.08720.13
5.5.140.0070.05320.24
5.5.130.0070.03720.22
5.5.120.0100.07720.24
5.5.110.0130.07320.16
5.5.100.0100.06020.07
5.5.90.0070.06020.06
5.5.80.0070.05720.00
5.5.70.0070.05320.09
5.5.60.0070.07020.05
5.5.50.0030.07320.07
5.5.40.0000.05719.99
5.5.30.0130.07720.04
5.5.20.0070.06019.94
5.5.10.0000.08719.97
5.5.00.0000.08720.02
5.4.450.0030.07719.56
5.4.440.0030.04019.29
5.4.430.0030.08019.28
5.4.420.0100.04319.13
5.4.410.0100.07319.18
5.4.400.0030.07019.04
5.4.390.0100.07018.81
5.4.380.0000.07719.03
5.4.370.0030.07318.98
5.4.360.0070.08019.13
5.4.350.0130.07018.95
5.4.340.0100.07319.03
5.4.320.0070.07319.07
5.4.310.0070.07319.07
5.4.300.0030.08018.78
5.4.290.0070.07319.12
5.4.280.0070.03318.96
5.4.270.0070.07019.06
5.4.260.0070.07719.14
5.4.250.0070.05319.11
5.4.240.0030.07319.11
5.4.230.0030.06318.97
5.4.220.0000.07018.78
5.4.210.0070.07019.17
5.4.200.0000.07318.78
5.4.190.0000.08019.03
5.4.180.0000.06318.77
5.4.170.0070.07319.03
5.4.160.0070.07719.10
5.4.150.0070.04718.94
5.4.140.0000.05316.39
5.4.130.0030.05716.28
5.4.120.0070.07016.37
5.4.110.0100.07316.43
5.4.100.0100.07016.30
5.4.90.0070.06016.32
5.4.80.0070.06716.36
5.4.70.0070.06716.24
5.4.60.0070.07016.30
5.4.50.0000.06716.20
5.4.40.0000.04316.28
5.4.30.0030.07716.34
5.4.20.0030.06016.31
5.4.10.0000.07716.18
5.4.00.0100.06715.82
5.3.290.0000.08714.48
5.3.280.0030.07314.45
5.3.270.0000.05314.51
5.3.260.0030.08314.61
5.3.250.0000.07014.59
5.3.240.0100.07014.56
5.3.230.0030.07014.54
5.3.220.0030.07314.52
5.3.210.0030.05714.56
5.3.200.0030.07714.54
5.3.190.0000.07014.54
5.3.180.0030.06314.42
5.3.170.0030.04714.40
5.3.160.0030.08014.46
5.3.150.0070.07314.55
5.3.140.0100.07314.55
5.3.130.0000.07314.55
5.3.120.0070.07714.38
5.3.110.0070.07314.50
5.3.100.0070.07014.02
5.3.90.0000.06313.99
5.3.80.0070.07313.88
5.3.70.0000.04713.97
5.3.60.0070.06713.96
5.3.50.0070.05013.79
5.3.40.0070.06713.85
5.3.30.0070.06713.81
5.3.20.0030.03713.68
5.3.10.0000.06713.60
5.3.00.0000.07013.64
5.2.170.0070.05712.20
5.2.160.0000.05012.20
5.2.150.0000.04012.20
5.2.140.0030.03012.20
5.2.130.0000.06312.20
5.2.120.0030.04712.20
5.2.110.0070.05712.20
5.2.100.0030.06012.20
5.2.90.0030.05012.20
5.2.80.0000.06312.20
5.2.70.0030.06012.20
5.2.60.0100.05712.20
5.2.50.0030.05712.20
5.2.40.0030.06312.20
5.2.30.0000.06712.20
5.2.20.0130.05312.20
5.2.10.0100.05012.20
5.2.00.0030.03712.20
5.1.60.0000.05312.20
5.1.50.0000.05712.20
5.1.40.0030.05012.20
5.1.30.0030.05712.20
5.1.20.0070.05312.20
5.1.10.0030.05012.20
5.1.00.0030.04012.20
5.0.50.0000.05012.20
5.0.40.0030.04312.20
5.0.30.0000.04012.20
5.0.20.0070.04012.20
5.0.10.0030.04012.20
5.0.00.0030.06712.20
4.4.90.0030.03312.20
4.4.80.0000.03712.20
4.4.70.0000.04012.20
4.4.60.0000.03312.20
4.4.50.0070.03012.20
4.4.40.0000.04712.20
4.4.30.0000.03312.20
4.4.20.0000.03312.20
4.4.10.0070.03012.20
4.4.00.0030.04712.20
4.3.110.0000.02712.20
4.3.100.0000.03312.20
4.3.90.0000.02712.20
4.3.80.0070.04712.20
4.3.70.0000.03712.20
4.3.60.0070.03012.20
4.3.50.0070.02312.20
4.3.40.0070.03712.20
4.3.30.0000.03012.20
4.3.20.0070.03312.20
4.3.10.0000.03712.20
4.3.00.0000.03312.20

preferences:
52.55 ms | 401 KiB | 5 Q