3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t1 = "http://fashion/ru/items/2"; $t2 = "http://fashion/logout"; //stripos //strpos //strripos //strstr 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.0090.00616.37
8.3.50.0100.00818.11
8.3.40.0100.00318.81
8.3.30.0120.00618.72
8.3.20.0080.00018.60
8.3.10.0080.00020.55
8.3.00.0040.00417.38
8.2.180.0090.00616.50
8.2.170.0060.01222.96
8.2.160.0030.01321.93
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0000.00719.82
8.2.110.0000.01020.99
8.2.100.0080.00417.78
8.2.90.0050.00320.90
8.2.80.0000.00918.03
8.2.70.0000.00817.50
8.2.60.0040.00417.92
8.2.50.0050.00318.07
8.2.40.0080.00018.14
8.2.30.0070.00017.87
8.2.20.0000.00717.59
8.2.10.0040.00417.50
8.2.00.0030.00917.53
8.1.280.0110.00425.92
8.1.270.0030.00623.99
8.1.260.0050.00326.35
8.1.250.0050.00328.09
8.1.240.0070.00322.44
8.1.230.0040.00721.03
8.1.220.0040.00417.74
8.1.210.0000.00818.85
8.1.200.0040.00417.00
8.1.190.0050.00217.39
8.1.180.0030.00518.10
8.1.170.0070.00018.72
8.1.160.0040.00418.82
8.1.150.0040.00418.56
8.1.140.0030.00517.34
8.1.130.0000.00717.82
8.1.120.0080.00017.27
8.1.110.0000.00717.42
8.1.100.0000.00817.43
8.1.90.0000.00717.39
8.1.80.0080.00017.40
8.1.70.0030.00317.33
8.1.60.0000.00917.49
8.1.50.0000.00817.42
8.1.40.0030.00517.35
8.1.30.0050.00217.51
8.1.20.0080.00017.65
8.1.10.0040.00417.47
8.1.00.0000.00717.44
8.0.300.0090.00019.98
8.0.290.0040.00416.75
8.0.280.0000.00718.38
8.0.270.0000.00717.25
8.0.260.0030.00316.80
8.0.250.0040.00416.83
8.0.240.0050.00316.91
8.0.230.0040.00416.90
8.0.220.0040.00416.70
8.0.210.0000.00716.83
8.0.200.0000.00616.78
8.0.190.0070.00016.91
8.0.180.0040.00416.87
8.0.170.0000.00916.88
8.0.160.0030.00316.75
8.0.150.0080.00016.77
8.0.140.0030.00516.85
8.0.130.0030.00313.20
8.0.120.0030.00516.78
8.0.110.0040.00416.77
8.0.100.0000.00716.89
8.0.90.0040.00416.68
8.0.80.0000.01516.71
8.0.70.0050.00216.84
8.0.60.0070.00016.84
8.0.50.0000.00716.68
8.0.30.0110.00717.02
8.0.20.0110.00717.05
8.0.10.0050.00316.82
8.0.00.0190.00316.69
7.4.330.0020.00213.04
7.4.320.0030.00316.54
7.4.300.0030.00316.47
7.4.290.0030.00316.42
7.4.280.0060.00316.54
7.4.270.0070.00016.43
7.4.260.0030.00313.32
7.4.250.0030.00516.52
7.4.240.0070.00016.58
7.4.230.0040.00416.27
7.4.220.0060.01316.57
7.4.210.0120.00416.49
7.4.200.0040.00416.65
7.4.190.0070.00016.60
7.4.160.0120.00416.39
7.4.150.0090.00916.63
7.4.140.0080.01016.56
7.4.130.0100.01016.47
7.4.120.0080.00816.58
7.4.110.0030.01416.42
7.4.100.0080.00816.45
7.4.90.0150.00416.37
7.4.80.0070.01019.39
7.4.70.0070.01016.23
7.4.60.0260.01716.49
7.4.50.0040.00416.41
7.4.40.0060.00816.27
7.4.30.0030.01016.44
7.4.00.0180.00014.93
7.3.330.0040.00413.13
7.3.320.0000.00613.09
7.3.310.0040.00416.07
7.3.300.0030.00316.14
7.3.290.0150.00016.09
7.3.280.0080.00716.18
7.3.270.0170.00616.16
7.3.260.0140.00416.41
7.3.250.0160.00216.44
7.3.240.0060.01016.46
7.3.230.0060.01216.36
7.3.210.0130.01016.23
7.3.200.0090.00616.36
7.3.190.0030.01416.16
7.3.180.0140.00716.11
7.3.170.0070.01016.36
7.3.160.0090.00616.46
7.3.120.0000.01714.79
7.2.330.0090.01316.60
7.2.320.0080.01616.62
7.2.310.0030.01616.49
7.2.300.0150.00916.25
7.2.290.0100.00616.57
7.2.00.0030.00919.28
7.1.100.0030.00818.14
7.1.70.0050.00317.08
7.1.60.0040.00717.18
7.1.50.0070.01416.54
7.1.00.0070.07322.40
7.0.200.0030.00616.55
7.0.140.0000.07022.15
7.0.120.0000.07722.19
7.0.60.0100.08019.82
7.0.50.0030.08317.88
7.0.40.0070.05720.03
7.0.30.0130.05320.23
7.0.20.0300.06720.16
7.0.10.0230.08720.32
7.0.00.0000.05320.00
5.6.280.0130.06320.77
5.6.210.0030.04020.52
5.6.200.0030.05718.12
5.6.190.0070.04320.60
5.6.180.0200.04320.56
5.6.170.0200.04020.48
5.6.160.0000.04720.32
5.6.150.0100.05018.22
5.6.140.0030.04718.12
5.6.130.0070.04318.11
5.6.120.0100.03720.95
5.6.110.0130.07720.88
5.6.100.0030.04320.96
5.6.90.0030.09020.93
5.6.80.0030.04020.41
5.6.70.4130.03320.39
5.5.350.0200.05720.36
5.5.340.0030.05318.02
5.5.330.0070.04320.15
5.5.320.0200.03720.41
5.5.310.0230.03720.20
5.5.300.0000.06717.89
5.5.290.0130.07717.98
5.5.280.0070.05320.84
5.5.270.0130.06720.86
5.5.260.0070.04720.83
5.5.250.0030.04020.57
5.5.240.0130.06020.27
5.4.450.0070.04019.33
5.4.440.0030.05719.44
5.4.430.0030.05319.44
5.4.420.0100.07319.39
5.4.410.0070.04019.34
5.4.400.0070.05318.97
5.4.390.0070.04018.88
5.4.380.0070.03719.16
5.4.370.0070.06019.14
5.4.360.0030.06019.14
5.4.350.0130.04318.91
5.4.340.0030.05019.17
5.4.320.0100.07319.18
5.4.310.0170.03019.17
5.4.300.0070.03318.79
5.4.290.0070.04318.80
5.4.280.0100.07318.79
5.4.270.0030.04319.17
5.4.260.0030.05719.18
5.4.250.0070.03718.78
5.4.240.0030.06719.13
5.4.230.0070.04018.80
5.4.220.0070.04318.99
5.4.210.0030.06319.14
5.4.200.0030.03718.80
5.4.190.0100.04018.90
5.4.180.0000.04019.08
5.4.170.0100.04319.13
5.4.160.0030.07019.15
5.4.150.0030.04318.79
5.4.140.0130.07016.26
5.4.130.0130.06016.45
5.4.120.0070.03316.24
5.4.110.0170.06316.41
5.4.100.0030.04316.40
5.4.90.0000.05316.30
5.4.80.0030.06316.21
5.4.70.0000.03716.21
5.4.60.0030.03316.13
5.4.50.0000.04316.28
5.4.40.0070.07016.36
5.4.30.0000.03716.34
5.4.20.0000.04316.34
5.4.10.0100.03016.23
5.4.00.0030.04015.71
5.3.290.0070.07714.58
5.3.280.0000.04714.52
5.3.270.0070.05714.53
5.3.260.0030.06714.53
5.3.250.0030.07314.50
5.3.240.0030.07714.56
5.3.230.0000.06014.57
5.3.220.0030.03714.50
5.3.210.0030.04014.65
5.3.200.0000.05014.48
5.3.190.0000.06714.57
5.3.180.0030.03714.35
5.3.170.0000.08314.46
5.3.160.0100.05314.46
5.3.150.0070.03714.51
5.3.140.0070.04014.56
5.3.130.0100.04014.49
5.3.120.0000.04014.48
5.3.110.0000.04014.48
5.3.100.0000.04014.00
5.3.90.0030.03313.95
5.3.80.0000.04013.93
5.3.70.0070.07713.93
5.3.60.0030.04013.94
5.3.50.0030.06713.73
5.3.40.0170.06013.88
5.3.30.0070.07013.84
5.3.20.0030.04313.61
5.3.10.0100.06013.60
5.3.00.0130.07013.57
5.2.170.0000.03011.13
5.2.160.0030.06011.11
5.2.150.0030.06311.04
5.2.140.0070.03311.07
5.2.130.0070.05710.99
5.2.120.0070.05011.04
5.2.110.0000.03011.02
5.2.100.0100.05711.10
5.2.90.0030.03711.03
5.2.80.0100.05310.99
5.2.70.0030.03010.94
5.2.60.0070.03310.96
5.2.50.0030.03010.91
5.2.40.0030.03010.91
5.2.30.0070.02710.86
5.2.20.0030.03310.94
5.2.10.0030.04010.86
5.2.00.0000.05310.71
5.1.60.0000.03010.00
5.1.50.0000.0279.94
5.1.40.0000.0509.93
5.1.30.0030.02710.33
5.1.20.0030.03710.35
5.1.10.0030.06010.06
5.1.00.0030.05310.05
5.0.50.0030.0338.49
5.0.40.0030.0478.40
5.0.30.0070.0608.18
5.0.20.0100.0378.23
5.0.10.0000.0278.31
5.0.00.0070.0308.30
4.4.90.0030.0177.79
4.4.80.0030.0377.79
4.4.70.0030.0307.79
4.4.60.0070.0307.79
4.4.50.0000.0177.79
4.4.40.0000.0307.79
4.4.30.0000.0407.79
4.4.20.0000.0307.79
4.4.10.0030.0277.79
4.4.00.0070.0277.79
4.3.110.0030.0237.79
4.3.100.0030.0277.79
4.3.90.0000.0237.79
4.3.80.0000.0537.79
4.3.70.0030.0137.79
4.3.60.0000.0377.79
4.3.50.0000.0307.79
4.3.40.0000.0407.79
4.3.30.0100.0277.79
4.3.20.0030.0177.79
4.3.10.0070.0277.79
4.3.00.0000.0307.79

preferences:
41.47 ms | 401 KiB | 5 Q