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($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.0180.00318.43
8.3.50.0130.00821.87
8.3.40.0070.00718.67
8.3.30.0160.00019.09
8.3.20.0080.00020.34
8.3.10.0050.00321.77
8.3.00.0080.00022.44
8.2.180.0120.00916.75
8.2.170.0110.00422.96
8.2.160.0070.00720.52
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0040.00417.63
8.2.110.0090.00021.20
8.2.100.0090.00318.22
8.2.90.0080.00019.04
8.2.80.0000.00917.97
8.2.70.0040.00417.63
8.2.60.0050.00317.80
8.2.50.0040.00418.10
8.2.40.0000.00720.55
8.2.30.0000.00719.18
8.2.20.0000.00817.58
8.2.10.0080.00017.51
8.2.00.0000.00817.66
8.1.280.0120.00325.92
8.1.270.0090.00921.93
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0060.00321.43
8.1.230.0000.01117.70
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0060.00317.23
8.1.190.0080.00017.22
8.1.180.0040.00418.10
8.1.170.0080.00018.48
8.1.160.0050.00318.73
8.1.150.0000.00819.99
8.1.140.0000.00817.38
8.1.130.0040.00417.83
8.1.120.0040.00417.29
8.1.110.0070.00017.42
8.1.100.0000.00717.29
8.1.90.0000.00717.39
8.1.80.0050.00317.38
8.1.70.0050.00217.37
8.1.60.0020.00517.46
8.1.50.0030.00517.45
8.1.40.0080.00017.54
8.1.30.0060.00317.46
8.1.20.0000.00817.50
8.1.10.0000.00817.48
8.1.00.0050.00317.34
8.0.300.0060.00320.72
8.0.290.0070.00016.63
8.0.280.0030.00318.50
8.0.270.0070.00017.30
8.0.260.0000.00718.35
8.0.250.0000.00716.96
8.0.240.0000.00716.89
8.0.230.0000.00716.93
8.0.220.0030.00316.83
8.0.210.0070.00016.73
8.0.200.0070.00016.90
8.0.190.0070.00016.88
8.0.180.0000.00716.74
8.0.170.0080.00016.85
8.0.160.0040.00416.77
8.0.150.0030.00316.66
8.0.140.0000.00716.68
8.0.130.0050.00013.25
8.0.120.0000.00716.74
8.0.110.0040.00416.83
8.0.100.0000.00816.70
8.0.90.0040.00416.78
8.0.80.0100.00716.77
8.0.70.0000.00716.70
8.0.60.0070.00016.70
8.0.50.0030.00616.88
8.0.30.0140.00517.04
8.0.20.0090.01017.40
8.0.10.0040.00417.02
8.0.00.0070.01116.71
7.4.330.0050.00015.05
7.4.320.0030.00316.55
7.4.300.0060.00016.55
7.4.290.0070.00016.53
7.4.280.0070.00016.54
7.4.270.0030.00416.45
7.4.260.0070.00016.52
7.4.250.0030.00316.37
7.4.240.0020.00616.56
7.4.230.0030.00316.32
7.4.220.0160.00616.59
7.4.210.0070.00716.56
7.4.200.0000.00716.64
7.4.190.0070.00016.38
7.4.160.0090.00616.41
7.4.150.0100.00717.40
7.4.140.0120.00817.86
7.4.130.0090.00816.49
7.4.120.0090.00816.53
7.4.110.0100.00716.26
7.4.100.0170.00416.50
7.4.90.0120.01216.38
7.4.80.0090.01016.39
7.4.70.0130.00316.41
7.4.60.0030.01316.25
7.4.50.0030.00616.06
7.4.40.0030.01022.77
7.4.30.0030.01316.59
7.4.00.0030.00714.75
7.3.330.0050.00012.98
7.3.320.0000.00612.99
7.3.310.0030.00316.14
7.3.300.0000.00716.13
7.3.290.0060.00716.16
7.3.280.0080.00716.16
7.3.270.0120.01017.40
7.3.260.0200.00316.44
7.3.250.0070.01016.40
7.3.240.0130.01016.23
7.3.230.0040.01216.39
7.3.210.0110.00516.49
7.3.200.0160.00619.39
7.3.190.0030.01416.17
7.3.180.0060.00916.36
7.3.170.0120.00316.27
7.3.160.0120.01116.10
7.3.120.0030.01014.93
7.3.10.0040.00716.50
7.3.00.0000.00916.41
7.2.330.0150.00916.50
7.2.320.0090.01316.38
7.2.310.0080.00816.29
7.2.300.0060.01016.55
7.2.290.0080.00816.57
7.2.130.0040.00716.88
7.2.120.0030.00816.91
7.2.110.0030.01016.84
7.2.100.0000.01116.81
7.2.90.0030.00816.98
7.2.80.0000.01116.84
7.2.70.0030.00516.80
7.2.60.0040.00916.87
7.2.50.0040.00416.74
7.2.40.0090.00616.86
7.2.30.0030.00716.60
7.2.20.0110.00316.92
7.2.10.0040.00716.73
7.2.00.0050.00717.95
7.1.250.0000.01015.75
7.1.200.0070.00715.70
7.1.100.0100.00517.79
7.1.70.0110.00017.10
7.1.60.0120.01219.32
7.1.50.0100.01316.88
7.1.00.0000.08022.45
7.0.200.0030.00616.54
7.0.140.0030.07721.95
7.0.60.0070.03719.78
7.0.50.0030.05017.88
7.0.40.0070.04020.03
7.0.30.0200.05720.18
7.0.20.0130.04720.09
7.0.10.0300.06020.25
7.0.00.0030.05020.29
5.6.280.0030.07321.11
5.6.210.0130.06720.74
5.6.200.0100.07718.11
5.6.190.0100.06720.77
5.6.180.0470.07320.27
5.6.170.0200.04320.48
5.6.160.0100.08320.38
5.6.150.0130.07718.22
5.6.140.0100.08018.18
5.6.130.0130.07318.18
5.6.120.0030.04020.97
5.6.110.0100.08021.10
5.6.100.0070.04021.13
5.6.90.0100.07721.09
5.6.80.0070.07020.53
5.6.70.4130.03720.38
5.5.350.0100.07720.45
5.5.340.0100.04318.00
5.5.330.0030.07720.19
5.5.320.0100.04320.51
5.5.310.0330.05720.29
5.5.300.0000.04317.98
5.5.290.0070.05317.89
5.5.280.0100.08320.73
5.5.270.0070.08320.64
5.5.260.0070.03720.86
5.5.250.0000.04320.68
5.5.240.0070.08320.25
5.4.450.0730.04719.14
5.4.440.1200.04719.21
5.4.430.0170.05019.56
5.4.420.0270.03319.24
5.4.410.0270.03319.28
5.4.400.0300.06318.83
5.4.390.0470.06018.59
5.4.380.0770.05018.62
5.4.370.0370.04018.76
5.4.360.0230.05318.67
5.4.350.0330.04718.52
5.4.340.0200.05718.57
5.4.320.0060.04212.45
5.4.310.0060.03812.45
5.4.300.0050.03812.45
5.4.290.0060.03812.45
5.4.280.0080.03312.35
5.4.270.0060.04312.34
5.4.260.0060.03612.34
5.4.250.0040.03912.34
5.4.240.0030.04712.34
5.4.230.0070.03612.34
5.4.220.0080.03412.34
5.4.210.0060.03512.34
5.4.200.0130.04912.34
5.4.190.0140.05112.34
5.4.180.0290.09012.33
5.4.170.0150.04412.35
5.4.160.0150.04512.34
5.4.150.0160.04712.33
5.4.140.0180.04112.02
5.4.130.0220.03812.00
5.4.120.0270.06311.96
5.4.110.0140.04311.96
5.4.100.0140.04511.96
5.4.90.0110.04611.96
5.4.80.0210.06511.96
5.4.70.0190.03611.96
5.4.60.0150.04311.95
5.4.50.0120.04311.95
5.4.40.0150.04011.95
5.4.30.0160.04111.95
5.4.20.0090.04611.94
5.4.10.0170.03811.95
5.4.00.0230.06211.43
5.3.290.0040.04112.80
5.3.280.0090.03412.71
5.3.270.0140.04612.71
5.3.260.0160.04412.72
5.3.250.0160.04512.72
5.3.240.0160.04312.71
5.3.230.0140.04612.71
5.3.220.0150.04412.68
5.3.210.0130.04612.68
5.3.200.0130.04612.68
5.3.190.0260.09412.68
5.3.180.0160.04212.67
5.3.170.0190.04012.66
5.3.160.0080.05012.68
5.3.150.0270.06112.68
5.3.140.0150.04312.66
5.3.130.0150.04412.66
5.3.120.0170.04212.66
5.3.110.0200.04412.66
5.3.100.0150.04412.12
5.3.90.0140.04312.08
5.3.80.0130.04512.07
5.3.70.0150.04412.07
5.3.60.0120.04712.06
5.3.50.0150.04312.00
5.3.40.0240.06412.00
5.3.30.0130.04311.96
5.3.20.0140.04411.73
5.3.10.0160.04311.69
5.3.00.0250.09011.67
5.2.170.0130.0339.18
5.2.160.0170.0289.17
5.2.150.0150.0319.18
5.2.140.0100.0369.18
5.2.130.0110.0359.14
5.2.120.0180.0279.14
5.2.110.0090.0379.15
5.2.100.0120.0339.14
5.2.90.0080.0389.14
5.2.80.0100.0369.13
5.2.70.0070.0399.13
5.2.60.0120.0339.09
5.2.50.0130.0329.06
5.2.40.0120.0349.04
5.2.30.0120.0339.00
5.2.20.0110.0349.00
5.2.10.0150.0298.92
5.2.00.0100.0348.77
5.1.60.0110.0278.06
5.1.50.0100.0298.06
5.1.40.0110.0278.05
5.1.30.0090.0338.39
5.1.20.0110.0308.42
5.1.10.0130.0298.14
5.1.00.0100.0308.14
5.0.50.0060.0276.62
5.0.40.0080.0536.47
5.0.30.0110.0326.29
5.0.20.0110.0206.27
5.0.10.0080.0236.24
5.0.00.0130.0306.23
4.4.90.0060.0194.78
4.4.80.0040.0204.75
4.4.70.0100.0154.76
4.4.60.0060.0194.75
4.4.50.0040.0204.77
4.4.40.0040.0314.71
4.4.30.0080.0174.75
4.4.20.0060.0184.85
4.4.10.0050.0194.85
4.4.00.0070.0284.76
4.3.110.0060.0184.67
4.3.100.0030.0214.66
4.3.90.0070.0174.63
4.3.80.0170.0784.59
4.3.70.0060.0184.63
4.3.60.0070.0174.63
4.3.50.0060.0184.63
4.3.40.0070.0264.54
4.3.30.0010.0223.28
4.3.20.0040.0183.27
4.3.10.0050.0173.23
4.3.00.0070.01315.44

preferences:
68.16 ms | 401 KiB | 5 Q