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,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.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($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.60.0100.01016.50
8.3.50.0140.00318.10
8.3.40.0120.00918.51
8.3.30.0080.00818.59
8.3.20.0060.00318.70
8.3.10.0060.00320.54
8.3.00.0140.00517.50
8.2.180.0090.00618.41
8.2.170.0110.00422.96
8.2.160.0100.00320.43
8.2.150.0040.00424.18
8.2.140.0160.00324.66
8.2.130.0110.00726.16
8.2.120.0060.00320.51
8.2.110.0090.00020.98
8.2.100.0050.00517.72
8.2.90.0070.00319.39
8.2.80.0000.00819.47
8.2.70.0000.00817.38
8.2.60.0030.00618.04
8.2.50.0090.00018.07
8.2.40.0040.00418.03
8.2.30.0100.00017.96
8.2.20.0040.00419.29
8.2.10.0000.00817.50
8.2.00.0000.00817.62
8.1.280.0110.00325.92
8.1.270.0030.00524.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.01022.33
8.1.230.0110.00020.97
8.1.220.0000.00717.74
8.1.210.0050.00318.96
8.1.200.0030.00617.23
8.1.190.0040.00417.50
8.1.180.0050.00318.10
8.1.170.0040.00418.71
8.1.160.0080.00018.72
8.1.150.0040.00418.63
8.1.140.0000.00717.40
8.1.130.0000.00717.89
8.1.120.0000.00817.44
8.1.110.0040.00417.37
8.1.100.0000.00717.38
8.1.90.0000.00817.45
8.1.80.0040.00417.43
8.1.70.0030.00317.29
8.1.60.0040.00417.41
8.1.50.0030.00617.40
8.1.40.0040.00417.36
8.1.30.0040.00417.60
8.1.20.0000.00817.57
8.1.10.0040.00417.48
8.1.00.0000.00817.24
8.0.300.0000.00819.91
8.0.290.0040.00416.63
8.0.280.0040.00418.34
8.0.270.0070.00017.24
8.0.260.0030.00316.68
8.0.250.0040.00416.81
8.0.240.0040.00516.89
8.0.230.0030.00316.87
8.0.220.0000.00816.73
8.0.210.0030.00316.71
8.0.200.0000.00616.93
8.0.190.0040.00416.90
8.0.180.0000.00816.86
8.0.170.0000.00816.73
8.0.160.0000.00716.82
8.0.150.0060.00316.65
8.0.140.0030.00616.77
8.0.130.0050.00013.25
8.0.120.0040.00416.78
8.0.110.0040.00416.73
8.0.100.0000.00816.70
8.0.90.0070.00016.86
8.0.80.0080.00816.78
8.0.70.0080.00016.90
8.0.60.0000.00816.66
8.0.50.0020.00516.82
8.0.30.0090.00917.00
8.0.20.0120.00716.93
8.0.10.0030.00516.89
8.0.00.0180.00016.51
7.4.330.0050.00013.00
7.4.320.0070.00016.41
7.4.300.0030.00316.41
7.4.290.0000.00716.35
7.4.280.0030.00516.39
7.4.270.0000.00716.54
7.4.260.0000.00613.20
7.4.250.0060.00316.46
7.4.240.0040.00416.35
7.4.230.0000.00816.48
7.4.220.0080.00716.45
7.4.210.0060.00816.52
7.4.200.0050.00316.54
7.4.190.0000.00716.49
7.4.160.0080.00816.29
7.4.150.0060.01216.35
7.4.140.0100.01016.47
7.4.130.0090.00716.38
7.4.120.0100.00916.31
7.4.110.0050.01416.36
7.4.100.0070.01016.35
7.4.90.0120.00616.28
7.4.80.0030.01416.31
7.4.70.0100.01016.41
7.4.60.0090.00616.56
7.4.50.0090.00316.29
7.4.40.0070.01116.18
7.4.30.0170.00016.30
7.4.00.0160.00014.68
7.3.330.0030.00312.89
7.3.320.0050.00013.02
7.3.310.0030.00516.03
7.3.300.0070.00016.11
7.3.290.0120.00316.17
7.3.280.0100.00816.14
7.3.270.0120.00616.13
7.3.260.0140.00316.21
7.3.250.0140.00416.32
7.3.240.0060.00916.24
7.3.230.0100.00716.43
7.3.210.0170.00016.14
7.3.200.0090.00919.39
7.3.190.0140.00716.47
7.3.180.0160.00016.22
7.3.170.0100.00716.09
7.3.160.0060.00916.30
7.3.120.0040.01114.75
7.3.00.0100.00316.64
7.2.330.0110.00716.29
7.2.320.0030.01616.56
7.2.310.0110.00616.25
7.2.300.0090.01216.40
7.2.290.0000.02116.44
7.2.130.0080.00616.75
7.2.120.0060.00616.70
7.2.110.0070.00716.74
7.2.100.0090.00616.50
7.2.90.0030.01016.85
7.2.80.0030.01016.81
7.2.70.0000.01316.57
7.2.60.0130.00316.47
7.2.50.0070.00316.79
7.2.40.0000.01516.79
7.2.30.0000.01116.52
7.2.20.0080.00416.60
7.2.10.0100.00316.70
7.2.00.0050.00617.89
7.1.250.0050.00515.93
7.1.240.0040.00815.80
7.1.230.0100.00315.78
7.1.220.0060.00615.70
7.1.210.0040.00915.41
7.1.200.0070.00715.77
7.1.190.0030.01015.82
7.1.180.0050.00315.65
7.1.170.0030.01015.71
7.1.160.0000.01715.81
7.1.150.0080.00415.50
7.1.140.0040.00715.81
7.1.130.0000.00915.70
7.1.120.0060.00615.40
7.1.110.0030.01015.79
7.1.100.0050.00816.91
7.1.90.0030.00715.48
7.1.80.0070.00715.50
7.1.70.0090.00516.18
7.1.60.0050.01117.60
7.1.50.0060.01016.11
7.1.40.0060.00615.88
7.1.30.0000.01315.63
7.1.20.0060.00315.45
7.1.10.0100.00315.55
7.1.00.0020.02718.94
7.0.330.0060.00615.34
7.0.320.0030.00715.54
7.0.310.0030.00915.08
7.0.300.0030.00615.28
7.0.290.0030.00515.28
7.0.280.0000.00915.18
7.0.270.0030.00715.54
7.0.260.0070.00315.36
7.0.250.0030.00615.52
7.0.240.0030.00615.14
7.0.230.0030.00715.47
7.0.220.0040.01115.48
7.0.210.0060.00615.27
7.0.200.0060.00815.12
7.0.190.0040.00714.93
7.0.180.0060.00615.23
7.0.170.0080.00315.54
7.0.160.0060.00615.34
7.0.150.0000.01015.38
7.0.140.0050.03818.60
7.0.130.0030.00615.20
7.0.120.0070.04018.70
7.0.110.0040.00815.44
7.0.100.0050.00515.32
7.0.90.0030.00915.20
7.0.80.0040.00815.47
7.0.70.0040.00415.29
7.0.60.0130.04617.62
7.0.50.0050.04016.59
7.0.40.0080.03616.78
7.0.30.0150.03716.98
7.0.20.0120.03516.83
7.0.10.0100.04016.92
7.0.00.0130.04516.78
5.6.380.0040.00413.83
5.6.370.0030.01314.32
5.6.360.0030.01014.17
5.6.350.0040.00914.39
5.6.340.0070.00714.43
5.6.330.0000.01114.35
5.6.320.0060.00614.52
5.6.310.0070.00314.43
5.6.300.0070.00014.44
5.6.290.0060.00613.99
5.6.280.0020.04017.43
5.6.270.0040.00414.61
5.6.260.0000.01314.22
5.6.250.0090.00314.23
5.6.240.0060.00614.28
5.6.230.0040.00814.50
5.6.220.0100.00314.40
5.6.210.0080.02517.29
5.6.200.0130.04016.32
5.6.190.0180.03817.28
5.6.180.0140.02417.50
5.6.170.0080.04317.30
5.6.160.0080.04217.49
5.6.150.0120.03417.20
5.6.140.0180.03817.36
5.6.130.0150.04417.12
5.6.120.0150.04017.35
5.6.110.0160.04517.14
5.6.100.0170.02517.32
5.6.90.0110.04817.12
5.6.80.0180.04016.92
5.6.70.0150.04217.04
5.6.60.0170.03816.98
5.6.50.0180.02517.01
5.6.40.0130.03516.94
5.6.30.0180.03316.81
5.6.20.0110.02816.88
5.6.10.0130.04417.00
5.6.00.0100.03816.88
5.5.380.0030.00711.18
5.5.370.0070.00011.18
5.5.360.0030.00711.18
5.5.350.0080.03815.80
5.5.340.0030.04214.60
5.5.330.0130.04315.79
5.5.320.0130.03215.77
5.5.310.0140.02815.82
5.5.300.0190.03915.57
5.5.290.0130.03815.54
5.5.280.0120.04215.57
5.5.270.0150.03615.54
5.5.260.0120.03815.65
5.5.250.0130.02815.62
5.5.240.0140.02715.39
5.5.230.0200.03115.32
5.5.220.0110.02315.41
5.5.210.0130.03415.36
5.5.200.0160.03315.39
5.5.190.0210.03515.36
5.5.180.0150.02515.21
5.5.170.0000.00811.18
5.5.160.0110.03315.30
5.5.150.0130.03615.33
5.5.140.0150.03815.22
5.5.130.0180.03215.21
5.5.120.0130.03315.22
5.5.110.0150.03915.25
5.5.100.0150.02315.28
5.5.90.0120.03815.33
5.5.80.0130.04115.34
5.5.70.0120.03415.34
5.5.60.0130.04015.32
5.5.50.0080.02615.31
5.5.40.0070.03215.29
5.5.30.0110.02015.36
5.5.20.0100.02215.32
5.5.10.0100.02115.36
5.5.00.0100.02215.32
5.4.450.0100.04315.31
5.4.440.0140.02715.29
5.4.430.0100.03615.32
5.4.420.0150.03815.29
5.4.410.0130.04115.23
5.4.400.0130.03015.16
5.4.390.0150.03015.18
5.4.380.0180.03315.16
5.4.370.0150.02014.98
5.4.360.0140.02215.13
5.4.350.0110.03515.13
5.4.340.0120.04315.17
5.4.330.0000.01211.18
5.4.320.0130.02514.98
5.4.310.0130.03715.13
5.4.300.0130.03615.04
5.4.290.0110.04114.98
5.4.280.0130.04115.14
5.4.270.0180.02315.13
5.4.260.0120.02315.17
5.4.250.0100.03315.17
5.4.240.0230.04215.13
5.4.230.0170.03515.16
5.4.220.0120.04315.16
5.4.210.0100.02515.16
5.4.200.0150.02815.16
5.4.190.0080.02415.17
5.4.180.0130.01715.17
5.4.170.0080.02215.17
5.4.160.0100.02015.13
5.4.150.0140.01615.11
5.4.140.0060.02013.75
5.4.130.0100.01713.77
5.4.120.0100.01713.72
5.4.110.0150.02513.66
5.4.100.0100.02013.71
5.4.90.0070.02413.79
5.4.80.0070.02013.89
5.4.70.0070.02813.72
5.4.60.0100.01913.76
5.4.50.0130.01513.65
5.4.40.0130.01513.70
5.4.30.0080.02213.75
5.4.20.0050.02313.78
5.4.10.0050.02513.70
5.4.00.0100.02013.41
5.3.290.0120.03512.90
5.3.280.0140.02112.84
5.3.270.0110.02112.85
5.3.260.0070.02212.87
5.3.250.0090.02212.93
5.3.240.0100.02112.85
5.3.230.0120.02612.82
5.3.220.0170.01512.76
5.3.210.0120.01912.88
5.3.200.0080.02712.83
5.3.190.0080.02112.85
5.3.180.0070.02412.84
5.3.170.0100.01712.83
5.3.160.0030.02512.85
5.3.150.0080.01812.83
5.3.140.0100.02112.83
5.3.130.0080.02312.84
5.3.120.0080.02812.82
5.3.110.0070.02212.82
5.3.100.0050.02312.59
5.3.90.0080.02012.56
5.3.80.0080.02012.58
5.3.70.0070.02212.56
5.3.60.0110.01612.58
5.3.50.0080.02012.54
5.3.40.0080.02112.52
5.3.30.0070.02312.45
5.3.20.0060.02112.39
5.3.10.0120.01812.46
5.3.00.0170.03312.30
5.2.170.0080.01811.85
5.2.160.0090.01311.85
5.2.150.0090.01511.85
5.2.140.0100.01311.85
5.2.130.0080.01511.85
5.2.120.0030.02311.85
5.2.110.0130.02511.85
5.2.100.0130.02511.85
5.2.90.0100.02511.85
5.2.80.0070.02411.85
5.2.70.0100.02011.85
5.2.60.0050.01911.85
5.2.50.0050.03511.85
5.2.40.0050.02811.85
5.2.30.0070.02211.85
5.2.20.0080.03311.85
5.2.10.0130.02211.85
5.2.00.0100.03311.85
5.1.60.0050.03311.85
5.1.50.0130.02011.85
5.1.40.0110.02511.85
5.1.30.0100.02311.85
5.1.20.0150.01811.85
5.1.10.0130.02311.85
5.1.00.0120.02011.85
5.0.50.0120.01911.85
5.0.40.0060.02011.85
5.0.30.0030.03311.85
5.0.20.0120.01111.85
5.0.10.0020.01411.85
5.0.00.0050.01711.85
4.4.90.0000.01211.85
4.4.80.0030.01111.85
4.4.70.0070.01711.85
4.4.60.0070.01811.85
4.4.50.0070.01811.85
4.4.40.0070.01811.85
4.4.30.0070.01211.85
4.4.20.0050.02111.85
4.4.10.0050.01711.85
4.4.00.0070.02211.85
4.3.110.0070.02011.85
4.3.100.0030.02011.85
4.3.90.0070.01311.85
4.3.80.0050.02511.85
4.3.70.0050.01811.85
4.3.60.0070.01511.85
4.3.50.0070.01711.85
4.3.40.0030.03011.85
4.3.30.0020.02011.85
4.3.20.0000.02011.85
4.3.10.0050.01611.85
4.3.00.0030.01111.85

preferences:
47.46 ms | 401 KiB | 5 Q