3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __toString() { return "foo"; } } var_dump(stripos("foobar", new Foo()));

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.0120.00316.63
8.3.50.0110.00418.21
8.3.40.0070.00718.40
8.3.30.0070.00718.51
8.3.20.0070.00021.89
8.3.10.0040.00423.48
8.3.00.0000.00919.49
8.2.180.0040.01818.26
8.2.170.0030.01022.96
8.2.160.0060.00920.47
8.2.150.0070.00025.66
8.2.140.0090.00024.66
8.2.130.0040.00419.30
8.2.120.0050.00326.35
8.2.110.0100.00019.39
8.2.100.0080.00317.84
8.2.90.0000.00819.09
8.2.80.0040.00417.97
8.2.70.0060.00317.91
8.2.60.0030.00617.63
8.2.50.0000.00818.10
8.2.40.0000.00822.38
8.2.30.0000.00719.44
8.2.20.0000.00717.96
8.2.10.0060.00317.55
8.2.00.0000.00717.97
8.1.280.0070.00725.92
8.1.270.0080.00023.86
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00320.86
8.1.230.0040.00717.70
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0000.01017.11
8.1.190.0030.00617.35
8.1.180.0070.00018.10
8.1.170.0040.00418.64
8.1.160.0040.00418.82
8.1.150.0000.00718.89
8.1.140.0000.00917.67
8.1.130.0000.00720.18
8.1.120.0030.00517.42
8.1.110.0000.00717.32
8.1.100.0030.00317.43
8.1.90.0040.00417.44
8.1.80.0070.00317.35
8.1.70.0000.00717.33
8.1.60.0020.00517.53
8.1.50.0030.00517.41
8.1.40.0040.00417.43
8.1.30.0040.00417.63
8.1.20.0000.00817.53
8.1.10.0050.00317.43
8.1.00.0040.00417.39
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00518.39
8.0.270.0030.00317.25
8.0.260.0000.00716.82
8.0.250.0040.00316.88
8.0.240.0000.00716.84
8.0.230.0000.00716.86
8.0.220.0060.00016.84
8.0.210.0000.00616.87
8.0.200.0030.00316.91
8.0.190.0030.00616.88
8.0.180.0040.00416.93
8.0.170.0030.00516.76
8.0.160.0060.00316.68
8.0.150.0030.00416.66
8.0.140.0000.00716.71
8.0.130.0060.00013.23
8.0.120.0040.00416.75
8.0.110.0000.00716.88
8.0.100.0000.00716.75
8.0.90.0040.00416.82
8.0.80.0180.00316.78
8.0.70.0040.00416.80
8.0.60.0070.00016.80
8.0.50.0040.00416.86
8.0.30.0100.00916.98
8.0.20.0110.00917.40
8.0.10.0040.00417.01
8.0.00.0130.00516.74
7.4.330.0050.00015.55
7.4.320.0000.00616.40
7.4.300.0000.00716.45
7.4.290.0030.00316.38
7.4.280.0050.00316.32
7.4.270.0050.00516.46
7.4.260.0000.00716.27
7.4.250.0070.00016.44
7.4.240.0050.00316.38
7.4.230.0070.00016.35
7.4.220.0040.00416.21
7.4.210.0090.00516.38
7.4.200.0070.00016.48
7.4.160.0070.01416.45
7.4.140.0120.00717.86
7.4.130.0070.01116.46
7.4.120.0110.00816.43
7.4.110.0060.01116.35
7.4.100.0090.01216.42
7.4.90.0100.00716.58
7.4.80.0040.02019.39
7.4.70.0000.02116.39
7.4.60.0030.01216.18
7.4.50.0060.00916.34
7.4.40.0060.00916.21
7.4.00.0030.01414.73
7.3.330.0050.00013.20
7.3.320.0040.00413.23
7.3.310.0000.00716.23
7.3.300.0070.00016.19
7.3.290.0000.00716.23
7.3.280.0090.00816.23
7.3.260.0060.01416.33
7.3.240.0100.00916.19
7.3.230.0070.01116.15
7.3.210.0100.00716.40
7.3.200.0060.01016.23
7.3.190.0110.00416.23
7.3.180.0090.00616.19
7.3.170.0150.00316.29
7.3.160.0080.00816.37
7.3.10.0000.01516.23
7.3.00.0030.01316.39
7.2.330.0060.01616.20
7.2.320.0120.00616.52
7.2.310.0060.01316.58
7.2.300.0070.01016.36
7.2.290.0130.00616.51
7.2.130.0070.00716.73
7.2.120.0060.00916.45
7.2.110.0090.00316.77
7.2.100.0040.01116.53
7.2.90.0030.00816.67
7.2.80.0110.00416.77
7.2.70.0030.01216.80
7.2.60.0060.00916.59
7.2.50.0080.00716.85
7.2.40.0030.01016.79
7.2.30.0090.01017.23
7.2.20.0150.01117.32
7.2.10.0150.00517.06
7.2.00.0060.01117.25
7.1.250.0160.00015.63
7.1.240.0070.01115.67
7.1.230.0040.01115.32
7.1.220.0100.00315.70
7.1.210.0060.00615.60
7.1.200.0050.01115.45
7.1.190.0070.00715.68
7.1.180.0100.00315.43
7.1.170.0100.00715.42
7.1.160.0090.00015.48
7.1.150.0100.01115.93
7.1.140.0100.01016.22
7.1.130.0090.01416.09
7.1.120.0080.01216.28
7.1.110.0120.01015.90
7.1.100.0100.01015.80
7.1.90.0120.00915.83
7.1.80.0080.01115.98
7.1.70.0130.00915.23
7.1.60.0220.01124.30
7.1.50.0190.01324.23
7.1.40.0220.01224.08
7.1.30.0220.01623.97
7.1.20.0230.01124.09
7.1.10.0050.01215.07
7.1.00.0100.01415.08
7.0.330.0060.00615.30
5.6.380.0060.00614.05

preferences:
60.11 ms | 400 KiB | 5 Q