3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t1 = "http://fashion/ru/items/2"; $t2 = "http://fashion/logout"; //stripos 5.5.0 0,018 s 0,042 s 12,629 MiB | 5.5.0 0,025 s 0,068 s 12,631 MiB //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.00,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(strstr($t1,"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.70.0130.01016.58
8.3.60.0070.01318.43
8.3.50.0110.00921.91
8.3.40.0100.01018.59
8.3.30.0170.00318.59
8.3.20.0040.00418.40
8.3.10.0030.00620.80
8.3.00.0000.00723.62
8.2.180.0130.00716.50
8.2.170.0110.00322.96
8.2.160.0120.00820.43
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00421.19
8.2.110.0060.00320.30
8.2.100.0090.00317.78
8.2.90.0040.00419.13
8.2.80.0080.00017.97
8.2.70.0070.00417.63
8.2.60.0080.00317.93
8.2.50.0050.00318.07
8.2.40.0030.01017.89
8.2.30.0000.00721.13
8.2.20.0050.00217.50
8.2.10.0020.00517.68
8.2.00.0100.00017.69
8.1.280.0130.00725.92
8.1.270.0070.00023.99
8.1.260.0170.00026.35
8.1.250.0140.00028.09
8.1.240.0030.00622.46
8.1.230.0070.00320.90
8.1.220.0080.00018.77
8.1.210.0050.00318.77
8.1.200.0000.00917.36
8.1.190.0030.00517.28
8.1.180.0000.00818.10
8.1.170.0000.00818.59
8.1.160.0030.00518.73
8.1.150.0050.00318.49
8.1.140.0020.00517.39
8.1.130.0070.00017.80
8.1.120.0040.00417.43
8.1.110.0040.00417.38
8.1.100.0000.00717.44
8.1.90.0070.00017.43
8.1.80.0000.00817.30
8.1.70.0050.00317.36
8.1.60.0000.00817.45
8.1.50.0060.00317.35
8.1.40.0040.00417.44
8.1.30.0040.00417.61
8.1.20.0030.00617.50
8.1.10.0050.00317.52
8.1.00.0070.00017.45
8.0.300.0070.00019.91
8.0.290.0000.00817.16
8.0.280.0000.00718.38
8.0.270.0000.00717.25
8.0.260.0000.00716.63
8.0.250.0040.00416.91
8.0.240.0050.00616.90
8.0.230.0000.00716.79
8.0.220.0000.01016.83
8.0.210.0000.00816.71
8.0.200.0060.00016.78
8.0.190.0000.00816.91
8.0.180.0000.00716.75
8.0.170.0030.00316.77
8.0.160.0040.00416.77
8.0.150.0000.00716.70
8.0.140.0000.00716.77
8.0.130.0000.00513.30
8.0.120.0040.00416.81
8.0.110.0040.00416.90
8.0.100.0040.00416.82
8.0.90.0050.00316.68
8.0.80.0120.00916.75
8.0.70.0000.00916.82
8.0.60.0040.00416.70
8.0.50.0000.00716.79
8.0.30.0110.00916.95
8.0.20.0070.01117.40
8.0.10.0020.00516.84
8.0.00.0100.01016.60
7.4.330.0050.00016.79
7.4.320.0060.00016.36
7.4.300.0030.00316.30
7.4.290.0000.00816.45
7.4.280.0070.00016.52
7.4.270.0030.00316.48
7.4.260.0030.00313.24
7.4.250.0030.00516.49
7.4.240.0050.00316.55
7.4.230.0000.00816.42
7.4.220.0070.01416.48
7.4.210.0060.00916.51
7.4.200.0040.00416.45
7.4.190.0040.00416.59
7.4.160.0130.01016.35
7.4.150.0100.00717.40
7.4.140.0060.01117.86
7.4.130.0150.00316.39
7.4.120.0110.00616.54
7.4.110.0100.00616.45
7.4.100.0130.00316.36
7.4.90.0130.01016.42
7.4.80.0140.00319.39
7.4.70.0170.00016.49
7.4.60.0030.01316.29
7.4.50.0050.00316.51
7.4.40.0090.00622.77
7.4.30.0100.00716.51
7.4.00.0160.00014.73
7.3.330.0000.00613.03
7.3.320.0000.00612.99
7.3.310.0040.00416.27
7.3.300.0030.00316.16
7.3.290.0040.01116.09
7.3.280.0110.00616.20
7.3.270.0070.01017.40
7.3.260.0100.00718.24
7.3.250.0130.00416.24
7.3.240.0070.01016.48
7.3.230.0130.00316.39
7.3.210.0100.00616.53
7.3.200.0060.01119.39
7.3.190.0030.01516.40
7.3.180.0130.00316.04
7.3.170.0080.00816.44
7.3.160.0120.00316.47
7.3.120.0030.01414.87
7.2.330.0080.00916.50
7.2.320.0140.00316.30
7.2.310.0220.02516.40
7.2.300.0150.00316.55
7.2.290.0050.01416.49
7.2.60.0060.01016.79
7.2.00.0060.00918.89
7.1.200.0060.00315.65
7.1.100.0060.00618.20
7.1.70.0030.00717.22
7.1.60.0100.01319.08
7.1.50.0130.01316.97
7.1.00.0000.03722.42
7.0.200.0000.00916.68
7.0.140.0070.07021.92
7.0.60.0330.08019.94
7.0.50.0070.04017.88
7.0.40.0070.04720.04
7.0.30.0500.06320.22
7.0.20.0430.06020.00
7.0.10.0070.06320.12
7.0.00.0030.05320.32
5.6.280.0000.07020.97
5.6.210.0130.07020.54
5.6.200.0200.07718.18
5.6.190.0130.07020.45
5.6.180.0300.04020.38
5.6.170.0330.07720.47
5.6.160.0200.06020.49
5.6.150.0070.08018.11
5.6.140.0030.05318.22
5.6.130.0070.08018.15
5.6.120.0100.06020.98
5.6.110.0130.07021.13
5.6.100.0100.06021.00
5.6.90.0170.04320.97
5.6.80.0030.08320.52
5.5.350.3300.04320.43
5.5.340.0100.07017.88
5.5.330.0100.06320.37
5.5.320.0170.04020.25
5.5.310.0270.05720.41
5.5.300.0030.05018.00
5.5.290.0130.04718.00
5.5.280.0100.08320.72
5.5.270.0000.07720.86
5.5.260.0100.07720.78
5.5.250.0130.07320.78
5.5.240.0000.06320.18
5.4.450.3430.03319.33
5.4.440.0130.03719.56
5.4.430.1000.03319.43
5.4.420.0030.03719.45
5.4.410.1870.03719.35
5.4.400.3530.04019.01
5.4.390.3670.03719.14
5.4.380.3600.03019.19
5.4.370.3970.03319.13
5.4.360.3570.04019.08
5.4.350.4600.03719.24
5.4.340.4600.03719.06
5.4.320.3970.05018.97
5.4.310.3600.03719.01
5.4.300.4130.03018.93
5.4.290.3770.04019.14
5.4.280.3570.03719.04
5.4.270.3600.03018.99
5.4.260.4000.02718.93
5.4.250.4070.03719.08
5.4.240.4430.04019.13
5.4.230.4700.03018.88
5.4.220.4200.04019.07
5.4.210.4630.03019.12
5.4.200.4370.04018.86
5.4.190.3900.03319.03
5.4.180.3970.03319.16
5.4.170.4500.04019.03
5.4.160.4470.04018.88
5.4.150.4470.04019.05
5.4.140.4630.03716.45
5.4.130.4630.03316.22
5.4.120.3670.03316.21
5.4.110.3830.03316.36
5.4.100.4130.03316.57
5.4.90.4030.03716.35
5.4.80.4600.03716.40
5.4.70.5430.04316.24
5.4.60.4600.03716.09
5.4.50.4070.03716.47
5.4.40.4370.03716.30
5.4.30.4500.04016.29
5.4.20.4530.03316.34
5.4.10.4500.04016.38
5.4.00.4400.03715.88
5.3.290.3900.04314.58
5.3.280.3770.04014.46
5.3.270.4730.03714.57
5.3.260.4400.04314.50
5.3.250.4230.04314.62
5.3.240.4600.03714.55
5.3.230.4130.04314.56
5.3.220.3800.03714.38
5.3.210.3530.03314.35
5.3.200.4270.03314.50
5.3.190.4370.04014.50
5.3.180.4100.03314.49
5.3.170.4200.03014.48
5.3.160.4100.03714.55
5.3.150.4170.03314.48
5.3.140.3870.03714.45
5.3.130.3970.05314.44
5.3.120.4570.03714.50
5.3.110.4400.03714.56
5.3.100.3670.03713.97
5.3.90.2500.03313.89
5.3.80.2500.03313.83
5.3.70.2270.03713.83
5.3.60.2630.03313.93
5.3.50.2570.03313.92
5.3.40.3500.02713.86
5.3.30.2530.03713.80
5.3.20.2330.03313.50
5.3.10.3130.03313.58
5.3.00.2530.03713.58
5.2.170.2700.02711.04
5.2.160.3030.02711.05
5.2.150.2700.03311.09
5.2.140.1330.02011.22
5.2.130.1800.02011.11
5.2.120.1930.02711.11
5.2.110.2930.02310.97
5.2.100.2630.02311.18
5.2.90.2900.02311.00
5.2.80.2530.03311.07
5.2.70.2630.02710.94
5.2.60.0000.03710.92
5.2.50.0070.05311.09
5.2.40.0070.04010.80
5.2.30.0030.04710.95
5.2.20.1970.03710.92
5.2.10.2830.03010.87
5.2.00.2600.03310.70
5.1.60.2400.0209.96
5.1.50.2670.0239.96
5.1.40.3130.01710.03
5.1.30.2870.03010.51
5.1.20.3030.02710.38
5.1.10.3070.02310.05
5.1.00.2930.02710.05
5.0.50.1900.0208.45
5.0.40.1470.0278.45
5.0.30.1530.0338.05
5.0.20.1270.0208.16
5.0.10.1600.0208.07
5.0.00.1470.0338.10
4.4.90.0130.0106.33
4.4.80.0000.0176.33
4.4.70.1370.0136.33
4.4.60.1570.0206.33
4.4.50.1730.0136.33
4.4.40.1370.0236.33
4.4.30.1730.0136.33
4.4.20.1670.0236.33
4.4.10.1700.0206.33
4.4.00.1600.0306.33
4.3.110.1470.0106.33
4.3.100.1200.0136.33
4.3.90.1430.0206.33
4.3.80.1630.0276.33
4.3.70.1430.0176.33
4.3.60.1630.0106.33
4.3.50.0800.0176.33
4.3.40.1470.0236.33
4.3.30.0800.0176.33
4.3.20.0730.0176.33
4.3.10.0900.0276.33
4.3.00.0700.0236.33

preferences:
51.15 ms | 401 KiB | 5 Q