3v4l.org

run code in 300+ PHP versions simultaneously
<?php $findme = "find me"; $mystring = "find me in my string"; $pos = strpos($mystring, $findme); echo $pos; if ($pos === false) { echo 'not found'; } else { echo 'found'; }

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.0110.00418.49
8.3.30.0070.00720.11
8.3.20.0080.00018.60
8.3.10.0070.00021.09
8.3.00.0040.00419.53
8.2.170.0160.00322.96
8.2.160.0100.00720.35
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0040.00421.04
8.2.110.0030.00722.07
8.2.100.0080.00317.72
8.2.90.0000.00818.03
8.2.80.0080.00017.97
8.2.70.0030.00717.63
8.2.60.0000.00917.92
8.2.50.0000.00818.07
8.2.40.0060.00319.88
8.2.30.0070.00019.43
8.2.20.0040.00417.62
8.2.10.0040.00417.68
8.2.00.0040.00417.73
8.1.270.0070.00023.99
8.1.260.0110.00326.35
8.1.250.0050.00228.09
8.1.240.0060.00322.21
8.1.230.0040.00720.92
8.1.220.0060.00317.76
8.1.210.0000.00818.88
8.1.200.0040.00817.23
8.1.190.0090.00017.53
8.1.180.0000.00818.10
8.1.170.0070.00318.32
8.1.160.0000.00718.78
8.1.150.0050.00518.63
8.1.140.0040.00417.38
8.1.130.0000.00717.82
8.1.120.0030.00317.36
8.1.110.0050.00317.43
8.1.100.0070.00017.23
8.1.90.0000.00717.41
8.1.80.0070.00017.38
8.1.70.0070.00017.36
8.1.60.0080.00017.46
8.1.50.0050.00217.39
8.1.40.0030.00517.37
8.1.30.0040.00417.52
8.1.20.0080.00017.51
8.1.10.0030.00617.40
8.1.00.0040.00817.30
8.0.300.0040.00419.98
8.0.290.0000.00717.18
8.0.280.0030.00318.37
8.0.270.0070.00017.16
8.0.260.0030.00316.72
8.0.250.0000.00716.95
8.0.240.0000.00816.96
8.0.230.0000.00716.84
8.0.220.0040.00416.68
8.0.210.0020.00516.84
8.0.200.0000.00616.75
8.0.190.0030.00516.89
8.0.180.0040.00416.82
8.0.170.0000.00816.85
8.0.160.0000.00716.77
8.0.150.0000.00716.65
8.0.140.0000.00716.76
8.0.130.0030.00313.31
8.0.120.0080.00016.77
8.0.110.0040.00416.63
8.0.100.0070.00016.70
8.0.90.0070.00016.88
8.0.80.0170.00316.76
8.0.70.0000.00716.67
8.0.60.0040.00416.76
8.0.50.0040.00416.75
8.0.30.0120.00716.95
8.0.20.0100.00917.40
8.0.10.0030.00416.80
8.0.00.0080.01016.60
7.4.330.0000.00516.85
7.4.320.0070.00016.40
7.4.300.0030.00516.52
7.4.290.0000.00716.63
7.4.280.0000.00716.58
7.4.270.0000.00716.49
7.4.260.0000.00613.21
7.4.250.0040.00416.59
7.4.240.0070.00016.57
7.4.230.0000.00716.59
7.4.220.0070.01116.39
7.4.210.0080.00816.55
7.4.200.0000.00816.59
7.4.190.0030.00416.73
7.4.160.0110.01116.40
7.4.150.0140.00317.40
7.4.140.0090.00817.86
7.4.130.0110.00616.57
7.4.120.0080.00916.51
7.4.110.0170.00716.53
7.4.100.0100.00716.60
7.4.90.0090.00916.53
7.4.80.0150.00619.39
7.4.70.0150.00416.49
7.4.60.0240.01616.59
7.4.50.0030.00616.23
7.4.40.0030.01322.77
7.4.30.0150.00616.30
7.4.00.0140.00314.89
7.3.330.0000.00513.05
7.3.320.0000.00513.14
7.3.310.0040.00416.11
7.3.300.0060.00016.15
7.3.290.0100.00316.21
7.3.280.0090.01016.27
7.3.270.0120.00617.40
7.3.260.0110.00918.24
7.3.250.0110.01116.39
7.3.240.0100.00716.22
7.3.230.0120.00916.53
7.3.210.0110.00616.48
7.3.200.0090.00619.39
7.3.190.0100.00716.30
7.3.180.0060.00916.42
7.3.170.0090.00916.27
7.3.160.0090.01316.21
7.3.120.0090.00615.02
7.3.10.0060.00616.75
7.3.00.0030.01016.74
7.2.330.0070.01016.70
7.2.320.0120.00616.27
7.2.310.0160.00616.39
7.2.300.0110.00616.62
7.2.290.0090.00916.70
7.2.130.0090.00316.91
7.2.120.0070.00716.55
7.2.110.0030.00916.73
7.2.100.0040.00816.92
7.2.90.0000.01116.88
7.2.80.0000.01216.91
7.2.70.0040.01116.75
7.2.60.0070.00616.88
7.2.50.0140.00716.90
7.2.40.0060.00316.97
7.2.30.0060.00616.97
7.2.20.0080.00416.73
7.2.10.0090.00617.06
7.2.00.0080.00618.19
7.1.250.0040.00415.93
7.1.200.0080.00315.74
7.1.100.0030.00618.00
7.1.70.0030.00717.23
7.1.60.0030.00717.16
7.1.50.0040.00816.61
7.1.40.0080.00616.63
7.1.30.0040.00716.58
7.1.20.0030.00916.81
7.1.10.0030.00616.55
7.1.00.0030.00616.68
7.0.200.0000.00816.95
7.0.190.0000.00816.62
7.0.180.0040.00416.26
7.0.170.0000.00816.33
7.0.160.0040.00416.21
7.0.150.0000.00716.21
7.0.140.0070.00016.19
7.0.130.0000.00916.41
7.0.120.0030.00716.48
7.0.110.0070.00316.61
7.0.100.0000.00816.41
7.0.90.0100.00016.50
7.0.80.0040.00416.48
7.0.70.0030.00716.27
7.0.60.0030.00716.23
7.0.50.0030.00616.59
7.0.40.0000.00814.96
7.0.30.0040.00414.96
7.0.20.0050.00214.96
7.0.10.0000.01314.96
7.0.00.0000.01114.96
5.6.300.0000.04420.97
5.6.290.0000.04420.85
5.6.280.0030.04421.03
5.6.270.0000.04521.00
5.6.260.0070.04020.81
5.6.250.0100.03720.91
5.6.240.0030.05020.97
5.6.230.0030.05520.85
5.6.220.0030.04320.81
5.6.210.0000.04721.03
5.6.200.0030.04620.99
5.6.190.0100.04920.95
5.6.180.0030.04220.98
5.6.170.0040.03921.05
5.6.160.0030.05520.98
5.6.150.0000.06120.86
5.6.140.0100.08120.97
5.6.130.0190.03820.82
5.6.120.0030.06220.76
5.6.110.0000.04721.02
5.6.100.0000.04621.01
5.6.90.0070.04120.81
5.6.80.0030.03720.31
5.6.70.0030.07120.20
5.6.60.0030.05420.30
5.6.50.0100.03620.36
5.6.40.0000.04320.19
5.6.30.0030.07820.19
5.6.20.0000.05020.29
5.6.10.0030.03920.18
5.6.00.0030.06720.17
5.5.380.0030.03717.47
5.5.370.0070.04417.56
5.5.360.0030.04217.40
5.5.350.0000.04717.45
5.5.340.0070.03817.86
5.5.330.0040.05317.96
5.5.320.0070.03517.95
5.5.310.0070.04617.83
5.5.300.0130.03017.75
5.5.290.0030.06617.75
5.5.280.0070.04218.03
5.5.270.0070.04617.94
5.5.260.0100.06217.96
5.5.250.0040.03917.88
5.5.240.0000.05417.46
5.5.230.0030.05317.22
5.5.220.0030.03917.34
5.5.210.0070.03317.08
5.5.200.0030.06417.39
5.5.190.0000.08417.19
5.5.180.0030.03917.19
5.5.160.0030.04617.41
5.5.150.0070.03717.29
5.5.140.0070.03417.37
5.5.130.0070.07617.11
5.5.120.0070.06317.36
5.5.110.0030.04617.40
5.5.100.0000.04417.37
5.5.90.0000.04517.20
5.5.80.0040.03617.20
5.5.70.0030.04217.28
5.5.60.0070.03617.27
5.5.50.0000.04416.95
5.5.40.0000.04317.27
5.5.30.0030.03717.18
5.5.20.0000.06017.30
5.5.10.0000.04617.21
5.5.00.0030.07417.06
5.4.450.0000.08519.34
5.4.440.0030.04219.47
5.4.430.0000.04619.35
5.4.420.0030.04919.30
5.4.410.0100.03519.11
5.4.400.0140.03718.98
5.4.390.0030.03719.14
5.4.380.0090.03519.07
5.4.370.0000.04119.10
5.4.360.0000.04418.85
5.4.350.0030.05819.02
5.4.340.0090.03518.95
5.4.320.0060.04519.14
5.4.310.0070.03319.04
5.4.300.0100.07118.98
5.4.290.0030.05319.06
5.4.280.0000.04919.03
5.4.270.0030.03619.14
5.4.260.0030.04118.88
5.4.250.0000.04019.19
5.4.240.0100.03319.05
5.4.230.0000.06818.87
5.4.220.0030.04919.06
5.4.210.0030.03719.13
5.4.200.0000.03919.09
5.4.190.0070.07918.97
5.4.180.0030.03718.86
5.4.170.0100.07019.06
5.4.160.0030.06218.89
5.4.150.0000.08618.86
5.4.140.0100.07016.52
5.4.130.0000.03716.38
5.4.120.0090.03116.34
5.4.110.0040.03516.50
5.4.100.0030.04616.64
5.4.90.0030.03816.65
5.4.80.0030.04516.56
5.4.70.0030.06916.48
5.4.60.0140.03116.64
5.4.50.0070.03316.38
5.4.40.0030.03316.38
5.4.30.0000.04116.45
5.4.20.0070.07716.65
5.4.10.0100.03916.43
5.4.00.0030.06315.92
5.3.290.0070.03214.96
5.3.280.0070.03614.96
5.3.270.0060.05114.96
5.3.260.0070.07914.96
5.3.250.0030.07114.96
5.3.240.0030.03714.96
5.3.230.0030.03414.96
5.3.220.0070.03114.96
5.3.210.0000.08514.96
5.3.200.0030.04714.96
5.3.190.0070.04114.96
5.3.180.0030.03614.96
5.3.170.0060.03214.96
5.3.160.0030.03614.96
5.3.150.0140.04514.96
5.3.140.0030.03614.96
5.3.130.0000.04714.96
5.3.120.0060.04814.96
5.3.110.0030.08314.96
5.3.100.0000.05614.96
5.3.90.0070.03314.96
5.3.80.0030.04314.96
5.3.70.0000.04114.96
5.3.60.0000.03814.96
5.3.50.0000.05314.96
5.3.40.0030.03514.96
5.3.30.0030.03614.96
5.3.20.0000.04514.96
5.3.10.0070.03714.96
5.3.00.0070.06414.96
5.2.170.0030.03214.96
5.2.160.0000.03914.96
5.2.150.0190.02614.96
5.2.140.0030.02714.96
5.2.130.0000.03314.96
5.2.120.0000.02914.96
5.2.110.0000.05014.96
5.2.100.0030.06214.96
5.2.90.0030.05114.96
5.2.80.0030.03314.96
5.2.70.0000.03114.96
5.2.60.0000.03114.96
5.2.50.0000.04414.96
5.2.40.0030.05714.96
5.2.30.0100.05914.96
5.2.20.0030.02814.96
5.2.10.0030.02614.96
5.2.00.0000.03114.96
5.1.60.0030.02814.96
5.1.50.0030.02614.96
5.1.40.0060.01914.96
5.1.30.0040.02514.96
5.1.20.0030.03514.96
5.1.10.0000.02714.96
5.1.00.0030.02414.96
5.0.50.0030.03414.96
5.0.40.0030.01914.96
5.0.30.0070.03514.96
5.0.20.0030.01914.96
5.0.10.0030.02014.96
5.0.00.0000.03414.96
4.4.90.0000.01814.96
4.4.80.0030.03814.96
4.4.70.0000.03014.96
4.4.60.0000.01614.96
4.4.50.0040.01414.96
4.4.40.0030.02414.96
4.4.30.0030.01314.96
4.4.20.0000.01614.96
4.4.10.0000.01914.96
4.4.00.0030.03914.96
4.3.110.0030.01514.96
4.3.100.0000.01614.96
4.3.90.0000.01714.96
4.3.80.0040.02214.96
4.3.70.0030.01314.96
4.3.60.0000.01614.96
4.3.50.0000.01814.96
4.3.40.0070.02014.96
4.3.30.0000.01714.96
4.3.20.0000.01714.96
4.3.10.0000.01914.96
4.3.00.0000.02314.96

preferences:
42.14 ms | 400 KiB | 5 Q