3v4l.org

run code in 300+ PHP versions simultaneously
<?php $inputString = '*ALERT*Domoos detects blabla[blabli]'; $pos1 = strpos($inputString, '*', 0); if ($pos1 == True) { echo 'position' . $pos1; }

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.0040.01116.21
8.3.40.0110.00318.67
8.3.30.0070.00718.67
8.3.20.0000.00720.16
8.3.10.0000.00921.97
8.3.00.0000.00819.13
8.2.180.0140.01018.16
8.2.170.0120.00322.96
8.2.160.0100.00320.34
8.2.150.0080.00024.18
8.2.140.0000.00724.66
8.2.130.0040.00420.98
8.2.120.0060.00326.35
8.2.110.0090.00020.95
8.2.100.0030.00718.16
8.2.90.0040.00419.05
8.2.80.0080.00017.97
8.2.70.0060.00317.63
8.2.60.0080.00018.03
8.2.50.0040.00418.10
8.2.40.0070.00020.49
8.2.30.0000.00921.02
8.2.20.0080.00017.94
8.2.10.0050.00218.17
8.2.00.0050.00218.21
8.1.270.0040.00422.10
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0080.00023.99
8.1.230.0080.00319.17
8.1.220.0000.00717.76
8.1.210.0000.00818.77
8.1.200.0000.00917.23
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0050.00518.59
8.1.160.0030.00518.92
8.1.150.0000.00820.66
8.1.140.0070.00419.57
8.1.130.0030.00318.97
8.1.120.0040.00417.41
8.1.110.0050.00317.45
8.1.100.0000.00717.43
8.1.90.0030.00317.35
8.1.80.0030.00317.41
8.1.70.0080.00017.36
8.1.60.0000.00717.63
8.1.50.0000.00717.47
8.1.40.0050.00317.36
8.1.30.0040.00417.64
8.1.20.0030.00617.61
8.1.10.0040.00417.44
8.1.00.0050.00317.38
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0070.00018.48
8.0.270.0080.00017.19
8.0.260.0080.00016.77
8.0.250.0000.00716.93
8.0.240.0050.00316.84
8.0.230.0070.00016.88
8.0.220.0030.00316.84
8.0.210.0050.00216.92
8.0.200.0000.00716.86
8.0.190.0050.00616.86
8.0.180.0000.00716.81
8.0.170.0000.00816.79
8.0.160.0030.00416.77
8.0.150.0040.00416.83
8.0.140.0050.00516.91
8.0.130.0050.00013.31
8.0.120.0030.00516.83
8.0.110.0000.00716.75
8.0.100.0040.00416.78
8.0.90.0030.00516.75
8.0.80.0090.00616.91
8.0.70.0000.00716.89
8.0.60.0030.00516.75
8.0.50.0080.00016.68
8.0.30.0120.00517.13
8.0.20.0080.00917.40
8.0.10.0070.00016.82
8.0.00.0050.01416.54
7.4.330.0060.00015.55
7.4.320.0030.00316.45
7.4.300.0030.00316.59
7.4.290.0030.00516.50
7.4.280.0080.00016.53
7.4.270.0030.00316.63
7.4.260.0030.00313.30
7.4.250.0040.00416.45
7.4.240.0070.00016.50
7.4.230.0000.00716.59
7.4.220.0100.00716.59
7.4.210.0070.00716.61
7.4.200.0030.00316.61
7.4.160.0080.00816.42
7.4.150.0070.01517.40
7.4.140.0090.01117.86
7.4.130.0150.00316.48
7.4.120.0080.00916.52
7.4.110.0060.01016.50
7.4.100.0090.00916.41
7.4.90.0060.01016.29
7.4.80.0140.00319.39
7.4.70.0090.00616.36
7.4.60.0130.00316.41
7.4.50.0030.01216.55
7.4.40.0090.01216.29
7.4.30.0140.00316.29
7.4.00.0070.01015.09
7.3.330.0000.00513.09
7.3.320.0000.00612.90
7.3.310.0040.00416.24
7.3.300.0000.00716.17
7.3.290.0030.00316.22
7.3.280.0070.00816.17
7.3.270.0130.00417.40
7.3.260.0090.00916.45
7.3.250.0100.01016.19
7.3.240.0140.00316.24
7.3.230.0110.00716.52
7.3.210.0090.00916.18
7.3.200.0130.00316.17
7.3.190.0110.00716.27
7.3.180.0040.01616.39
7.3.170.0040.01116.24
7.3.160.0060.00916.39
7.2.330.0110.00716.69
7.2.320.0070.01016.32
7.2.310.0100.00716.52
7.2.300.0080.00816.50
7.2.290.0180.00016.58
7.2.80.0070.01016.57
7.2.60.0080.00416.79
7.2.00.0060.01019.12
7.1.200.0000.00715.80
7.1.100.0030.00918.09
7.1.70.0000.01116.94
7.1.60.0180.00634.99
7.1.50.0190.00734.69
7.1.40.0180.00734.33
7.1.30.0130.01634.22
7.1.20.0150.01534.48
7.1.10.0000.01216.64
7.1.00.0060.00616.53
7.0.200.0120.00016.63
7.0.190.0060.00916.28
7.0.180.0000.01115.98
7.0.170.0040.00816.24
7.0.160.0070.00416.00
7.0.150.0030.01016.02
7.0.140.0060.00616.18
7.0.130.0060.00616.32
7.0.120.0030.00916.33
7.0.110.0060.00616.12
7.0.100.0040.00716.25
7.0.90.0000.01316.12
7.0.80.0080.00416.15
7.0.70.0110.00016.25
7.0.60.0040.01116.02
7.0.50.0000.01316.22
7.0.40.0090.00316.31
7.0.30.0090.00316.55
7.0.20.0000.01216.43
7.0.10.0050.00816.26
7.0.00.0080.00416.36

preferences:
82.37 ms | 400 KiB | 5 Q