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(mb_stristr($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.40.0120.00318.77
8.3.30.0090.00618.89
8.3.20.0050.00220.20
8.3.10.0040.00421.98
8.3.00.0090.00022.49
8.2.170.0030.01022.96
8.2.160.0110.00420.81
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0030.01426.16
8.2.120.0050.00319.23
8.2.110.0110.00020.99
8.2.100.0120.00018.03
8.2.90.0060.00319.05
8.2.80.0000.00817.97
8.2.70.0050.00317.50
8.2.60.0000.00817.80
8.2.50.0000.00818.10
8.2.40.0000.00920.59
8.2.30.0020.00520.92
8.2.20.0000.00717.55
8.2.10.0040.00417.68
8.2.00.0060.00317.50
8.1.270.0040.00422.05
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0090.00022.62
8.1.230.0080.00320.39
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0050.00317.22
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0040.00418.57
8.1.160.0070.00018.89
8.1.150.0050.00220.13
8.1.140.0000.00917.41
8.1.130.0030.00517.74
8.1.120.0030.00317.45
8.1.110.0080.00017.34
8.1.100.0050.00217.42
8.1.90.0050.00217.42
8.1.80.0000.00717.51
8.1.70.0030.00317.45
8.1.60.0000.00817.56
8.1.50.0080.00017.56
8.1.40.0070.00017.53
8.1.30.0060.00317.67
8.1.20.0030.00517.53
8.1.10.0040.00417.55
8.1.00.0080.00017.31
8.0.300.0040.00419.02
8.0.290.0020.00516.63
8.0.280.0000.00718.44
8.0.270.0030.00317.25
8.0.260.0000.00616.75
8.0.250.0000.00717.00
8.0.240.0070.00016.84
8.0.230.0000.00817.00
8.0.220.0030.00316.88
8.0.210.0000.00716.82
8.0.200.0000.00617.00
8.0.190.0040.00416.83
8.0.180.0070.00016.94
8.0.170.0050.00316.93
8.0.160.0000.00716.83
8.0.150.0030.00516.83
8.0.140.0030.00516.80
8.0.130.0090.00013.25
8.0.120.0040.00416.89
8.0.110.0000.00716.80
8.0.100.0040.00416.95
8.0.90.0040.00416.84
8.0.80.0030.01416.95
8.0.70.0000.00716.75
8.0.60.0040.00416.78
8.0.50.0040.00416.78
8.0.30.0080.01117.03
8.0.20.0040.01417.40
8.0.10.0000.00816.97
8.0.00.0140.00416.73
7.4.330.0000.00515.00
7.4.320.0000.00716.61
7.4.300.0040.00416.64
7.4.290.0040.00416.59
7.4.280.0000.00716.35
7.4.270.0000.00616.57
7.4.260.0000.00716.60
7.4.250.0000.00816.59
7.4.240.0000.00716.56
7.4.230.0030.00316.39
7.4.220.0090.01216.47
7.4.210.0060.00916.54
7.4.200.0000.00716.41
7.4.190.0030.00316.66
7.4.160.0170.00416.60
7.4.150.0100.00717.40
7.4.140.0090.00917.86
7.4.130.0100.00916.47
7.4.120.0070.01116.40
7.4.110.0040.01316.47
7.4.100.0050.01116.70
7.4.90.0110.00716.77
7.4.80.0080.01419.39
7.4.70.0040.01216.62
7.4.60.0070.01016.46
7.4.50.0000.00716.32
7.4.40.0110.00822.77
7.4.30.0080.00816.61
7.4.00.0070.01014.86
7.3.330.0030.00313.05
7.3.320.0060.00013.04
7.3.310.0030.00316.02
7.3.300.0030.00316.19
7.3.290.0140.00616.26
7.3.280.0150.00716.19
7.3.270.0170.00417.40
7.3.260.0100.01016.14
7.3.250.0130.00416.21
7.3.240.0130.00816.25
7.3.230.0100.00716.41
7.3.210.0090.00916.37
7.3.200.0110.01219.39
7.3.190.0080.01516.45
7.3.180.0090.00616.32
7.3.170.0100.01016.38
7.3.160.0030.01216.45
7.3.120.0000.01314.58
7.2.330.0090.00916.57
7.2.320.0140.00416.38
7.2.310.0090.01216.27
7.2.300.0110.00416.50
7.2.290.0030.01316.60
7.1.100.0040.00718.23
7.1.70.0030.00617.03
7.1.60.0000.02519.82
7.1.50.0070.00416.93
7.1.00.0030.07722.54
7.0.200.0100.00316.73
7.0.140.0100.06321.92
7.0.60.0070.08319.94
7.0.50.0000.04717.81
7.0.40.0070.04319.91
7.0.30.0230.05320.01
7.0.20.0200.06020.18
7.0.10.0230.08720.12
7.0.00.0030.05020.03
5.6.280.0100.06721.11
5.6.210.0100.07720.75
5.6.200.0170.03018.08
5.6.190.0100.06020.49
5.6.180.0370.06320.59
5.6.170.0370.06720.37
5.6.160.0100.08020.37
5.6.150.0070.06318.07
5.6.140.0000.08318.18
5.6.130.0130.06718.11
5.6.120.0100.07720.95
5.6.110.0070.08021.01
5.6.100.0030.08720.98
5.6.90.0100.07721.12
5.6.80.0030.08020.36
5.6.70.0300.06020.36
5.5.350.0230.04320.43
5.5.340.0030.08317.98
5.5.330.0070.04020.21
5.5.320.0300.06720.47
5.5.310.0170.04320.32
5.5.300.0100.07717.98
5.5.290.0170.07017.98
5.5.280.0000.08020.77
5.5.270.0130.03720.63
5.5.260.0000.09020.82
5.5.250.0200.06720.64
5.5.240.0130.03020.11
5.4.450.1000.06719.62
5.4.440.0770.05319.57
5.4.430.0130.05719.51
5.4.420.0100.05719.32
5.4.410.0070.08018.84
5.4.400.0070.05318.62
5.4.390.0130.06318.62
5.4.380.0270.05318.70
5.4.370.0230.05018.48
5.4.360.0130.06018.61
5.4.350.0300.05018.56
5.4.340.0270.05318.73
5.4.320.0120.03812.45
5.4.310.0060.03912.45
5.4.300.0040.04312.45
5.4.290.0050.03912.45
5.4.280.0080.03612.34
5.4.270.0060.03712.35
5.4.260.0080.03712.35
5.4.250.0060.05012.35
5.4.240.0070.03512.35
5.4.230.0100.04012.34
5.4.220.0090.04712.34
5.4.210.0060.03512.34
5.4.200.0090.03812.34
5.4.190.0260.06312.34
5.4.180.0130.04312.33
5.4.170.0120.04512.34
5.4.160.0180.04012.34
5.4.150.0100.04812.34
5.4.140.0170.07012.02
5.4.130.0160.04112.01
5.4.120.0150.04111.96
5.4.110.0150.04111.96
5.4.100.0230.06511.96
5.4.90.0120.04411.96
5.4.80.0170.03911.96
5.4.70.0290.08911.95
5.4.60.0130.04211.96
5.4.50.0120.04411.95
5.4.40.0120.04311.95
5.4.30.0120.04511.94
5.4.20.0160.04011.94
5.4.10.0120.04311.95
5.4.00.0130.04211.43
5.3.290.0030.04212.80
5.3.280.0050.03812.71
5.3.270.0200.04012.72
5.3.260.0210.03812.72
5.3.250.0120.04712.72
5.3.240.0150.04312.72
5.3.230.0180.04212.71
5.3.220.0060.05312.68
5.3.210.0150.04412.68
5.3.200.0150.04612.68
5.3.190.0180.04212.68
5.3.180.0130.04512.67
5.3.170.0170.04112.67
5.3.160.0200.04012.68
5.3.150.0150.04612.67
5.3.140.0160.04512.66
5.3.130.0170.04212.66
5.3.120.0260.09312.66
5.3.110.0150.04412.66
5.3.100.0180.04112.12
5.3.90.0110.04612.08
5.3.80.0150.04312.07
5.3.70.0230.03512.07
5.3.60.0170.04212.06
5.3.50.0150.04312.00
5.3.40.0300.05812.00
5.3.30.0150.04311.97
5.3.20.0190.03911.73
5.3.10.0300.05611.70
5.3.00.0110.04711.67
5.2.170.0130.0349.18
5.2.160.0130.0359.18
5.2.150.0110.0379.18
5.2.140.0090.0399.18
5.2.130.0240.0549.14
5.2.120.0120.0349.13
5.2.110.0170.0309.15
5.2.100.0120.0339.14
5.2.90.0110.0349.14
5.2.80.0090.0369.13
5.2.70.0110.0359.13
5.2.60.0100.0359.09
5.2.50.0140.0329.06
5.2.40.0120.0349.04
5.2.30.0120.0339.00
5.2.20.0080.0389.00
5.2.10.0110.0348.93
5.2.00.0110.0338.78
5.1.60.0100.0298.06
5.1.50.0250.0758.06
5.1.40.0090.0298.05
5.1.30.0090.0328.39
5.1.20.0070.0348.42
5.1.10.0130.0288.14
5.1.00.0070.0338.14
5.0.50.0110.0226.62
5.0.40.0070.0246.47
5.0.30.0140.0606.29
5.0.20.0100.0256.27
5.0.10.0080.0246.24
5.0.00.0100.0356.23
4.4.90.0110.0144.78
4.4.80.0070.0194.75
4.4.70.0250.0614.76
4.4.60.0100.0164.76
4.4.50.0070.0184.77
4.4.40.0080.0284.71
4.4.30.0050.0214.76
4.4.20.0100.0174.85
4.4.10.0080.0194.85
4.4.00.0080.0294.76
4.3.110.0040.0214.67
4.3.100.0480.0684.67
4.3.90.0070.0184.63
4.3.80.0090.0264.59
4.3.70.0040.0214.63
4.3.60.0080.0164.62
4.3.50.0090.0154.63
4.3.40.0060.0284.54
4.3.30.0050.0183.29
4.3.20.0070.0163.27
4.3.10.0060.0163.24
4.3.00.0130.01313.28

preferences:
37.74 ms | 400 KiB | 5 Q