3v4l.org

run code in 300+ PHP versions simultaneously
<?php $inputString = '*ALERT*Domoos detects blabla[blabli]'; $pos1 = strpos($inputString, '*'); if ($pos1!==FALSE) { 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.0070.00716.50
8.3.50.0110.00416.34
8.3.40.0070.00718.57
8.3.30.0070.00718.58
8.3.20.0050.00220.21
8.3.10.0040.00421.65
8.3.00.0040.00419.23
8.2.180.0120.00618.41
8.2.170.0100.00322.96
8.2.160.0110.00720.16
8.2.150.0090.00924.18
8.2.140.0040.00424.66
8.2.130.0080.00021.18
8.2.120.0040.00426.35
8.2.110.0070.00319.34
8.2.100.0120.00017.91
8.2.90.0000.00819.22
8.2.80.0040.00417.97
8.2.70.0000.01117.75
8.2.60.0040.00417.80
8.2.50.0050.00318.10
8.2.40.0020.00520.47
8.2.30.0040.00421.10
8.2.20.0000.00818.13
8.2.10.0040.00418.11
8.2.00.0070.00018.21
8.1.280.0070.01125.92
8.1.270.0080.00023.83
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0030.00623.70
8.1.230.0080.00420.89
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0100.00017.35
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0000.01018.64
8.1.160.0070.00019.07
8.1.150.0060.00320.52
8.1.140.0070.00319.55
8.1.130.0030.00318.80
8.1.120.0070.00017.35
8.1.110.0020.00517.45
8.1.100.0060.00317.39
8.1.90.0040.00417.44
8.1.80.0000.00717.23
8.1.70.0040.00417.35
8.1.60.0070.00017.49
8.1.50.0080.00017.45
8.1.40.0040.00417.41
8.1.30.0020.00517.58
8.1.20.0020.00517.62
8.1.10.0000.00717.57
8.1.00.0040.00417.32
8.0.300.0000.00918.77
8.0.290.0050.00316.63
8.0.280.0070.00018.43
8.0.270.0000.00717.29
8.0.260.0030.00316.69
8.0.250.0030.00316.84
8.0.240.0050.00316.96
8.0.230.0000.00716.95
8.0.220.0070.00016.90
8.0.210.0000.00716.89
8.0.200.0030.00316.86
8.0.190.0070.00316.97
8.0.180.0040.00416.84
8.0.170.0030.00316.90
8.0.160.0080.00016.81
8.0.150.0000.00716.84
8.0.140.0000.01016.83
8.0.130.0000.00613.27
8.0.120.0050.00316.77
8.0.110.0040.00416.95
8.0.100.0000.00716.75
8.0.90.0070.00016.89
8.0.80.0070.01016.73
8.0.70.0040.00416.84
8.0.60.0040.00416.84
8.0.50.0040.00416.90
8.0.30.0120.00617.08
8.0.20.0110.00817.40
8.0.10.0000.00716.95
8.0.00.0070.01116.93
7.4.330.0000.00615.55
7.4.320.0060.00016.50
7.4.300.0030.00316.41
7.4.290.0090.00016.57
7.4.280.0030.00516.41
7.4.270.0030.00316.51
7.4.260.0030.00316.45
7.4.250.0030.00316.50
7.4.240.0000.00716.60
7.4.230.0040.00416.59
7.4.220.0150.00716.62
7.4.210.0060.00816.58
7.4.200.0030.00616.57
7.4.160.0110.01016.33
7.4.150.0120.01217.40
7.4.140.0090.01017.86
7.4.130.0070.01116.43
7.4.120.0100.01016.43
7.4.110.0030.01616.43
7.4.100.0070.01016.57
7.4.90.0070.01016.57
7.4.80.0140.00319.39
7.4.70.0060.01016.49
7.4.60.0030.01416.40
7.4.50.0120.00016.64
7.4.40.0070.01416.46
7.4.30.0040.01216.46
7.4.10.0100.00714.79
7.4.00.0080.00614.72
7.3.330.0000.00513.06
7.3.320.0030.00313.17
7.3.310.0040.00416.09
7.3.300.0000.00616.25
7.3.290.0000.00616.16
7.3.280.0090.00816.25
7.3.270.0080.00817.40
7.3.260.0140.00716.39
7.3.250.0110.00616.31
7.3.240.0110.00616.34
7.3.230.0070.01316.35
7.3.210.0180.00416.40
7.3.200.0140.00416.37
7.3.190.0060.01216.36
7.3.180.0070.01016.48
7.3.170.0060.01116.23
7.3.160.0060.00916.34
7.3.130.0060.01014.85
7.3.120.0130.00314.91
7.3.110.0090.00614.57
7.3.100.0060.00614.92
7.3.90.0030.01414.74
7.3.80.0090.00014.88
7.3.70.0030.00914.79
7.3.60.0060.00614.62
7.3.50.0060.00914.82
7.3.40.0040.00414.61
7.3.30.0040.01414.75
7.3.20.0040.01416.81
7.3.10.0040.01116.61
7.3.00.0060.00616.61
7.2.330.0040.01416.36
7.2.320.0100.00716.72
7.2.310.0100.01016.37
7.2.300.0030.01316.39
7.2.290.0180.00316.53
7.2.260.0090.00915.10
7.2.250.0000.01715.21
7.2.240.0000.01415.25
7.2.230.0060.00615.21
7.2.220.0070.00414.89
7.2.210.0030.00914.96
7.2.200.0030.01014.98
7.2.190.0070.00714.98
7.2.180.0030.01014.90
7.2.170.0040.00714.89
7.2.160.0040.01114.91
7.2.150.0030.00917.07
7.2.140.0080.00816.66
7.2.130.0090.00616.73
7.2.120.0030.00616.91
7.2.110.0060.00916.73
7.2.100.0070.00716.87
7.2.90.0060.01017.09
7.2.80.0100.00616.80
7.2.70.0040.00417.01
7.2.60.0050.01116.83
7.2.50.0070.00616.79
7.2.40.0030.01216.97
7.2.30.0090.00917.06
7.2.20.0070.00716.99
7.2.10.0130.00316.91
7.2.00.0050.01117.95
7.1.330.0060.00915.78
7.1.320.0060.00615.82
7.1.310.0080.00015.93
7.1.300.0000.01415.91
7.1.290.0000.01615.78
7.1.280.0040.01115.59
7.1.270.0030.00715.82
7.1.260.0040.01115.90
7.1.250.0000.01515.87
7.1.240.0040.01115.62
7.1.230.0090.00615.97
7.1.220.0060.00915.92
7.1.210.0070.00715.79
7.1.200.0080.00315.76
7.1.190.0070.00715.84
7.1.180.0030.00615.71
7.1.170.0080.00015.88
7.1.160.0100.00715.71
7.1.150.0040.00415.82
7.1.140.0030.00715.73
7.1.130.0030.01215.64
7.1.120.0000.01215.96
7.1.110.0060.00315.66
7.1.100.0050.01017.12
7.1.90.0070.00715.78
7.1.80.0000.01115.88
7.1.70.0030.01016.43
7.1.60.0110.00925.40
7.1.50.0150.00824.29
7.1.40.0080.01124.99
7.1.30.0080.01225.13
7.1.20.0120.00725.17
7.1.10.0050.00816.17
7.1.00.0060.00516.25
7.0.330.0080.00415.51
7.0.320.0120.00015.57
7.0.310.0040.00415.31
7.0.300.0030.00915.08
7.0.290.0060.00615.41
7.0.280.0110.00315.37
7.0.270.0070.00715.27
7.0.260.0000.01015.57
7.0.250.0070.01015.37
7.0.240.0030.01415.60
7.0.230.0000.01215.53
7.0.220.0000.01215.32
7.0.210.0070.00715.58
7.0.200.0100.00816.05
7.0.190.0120.00416.09
7.0.180.0030.01015.74
7.0.170.0040.00915.77
7.0.160.0050.00815.76
7.0.150.0020.01115.78
7.0.140.0040.00615.85
7.0.130.0070.00716.01
7.0.120.0070.00616.12
7.0.110.0060.01115.86
7.0.100.0090.00515.62
7.0.90.0030.01215.82
7.0.80.0050.00615.65
7.0.70.0080.00915.83
7.0.60.0040.00915.71
7.0.50.0070.00516.09
7.0.40.0100.00314.93
7.0.30.0030.00815.05
7.0.20.0030.00714.83
7.0.10.0050.01014.99
7.0.00.0020.00814.85
5.6.400.0030.00514.46
5.6.390.0070.00714.28
5.6.380.0030.00714.34
5.6.370.0030.01014.61
5.6.360.0000.01514.24
5.6.350.0130.00014.37
5.6.340.0090.00314.45
5.6.330.0090.00914.48
5.6.320.0080.00414.43
5.6.310.0070.01014.18
5.6.300.0040.00814.66
5.6.290.0100.00314.32
5.6.280.0060.00314.34
5.6.270.0060.00614.48
5.6.260.0030.00914.47
5.6.250.0090.00614.13
5.6.240.0050.00514.57
5.6.230.0000.01114.48
5.6.220.0000.01414.38
5.6.210.0070.00714.42
5.6.200.0000.01114.15
5.6.190.0130.00014.46
5.6.180.0040.00714.17
5.6.170.0030.01214.20
5.6.160.0000.00814.06
5.6.150.0070.00414.38
5.6.140.0030.01014.43
5.6.130.0000.01414.59
5.6.120.0040.00714.18
5.6.110.0030.01014.47
5.6.100.0090.00614.35
5.6.90.0060.00914.23
5.6.80.0030.00914.21
5.6.70.0000.01114.25
5.6.60.0060.00814.06
5.6.50.0000.01714.37
5.6.40.0060.00614.09
5.6.30.0000.01214.37
5.6.20.0080.00414.05
5.6.10.0030.00914.09
5.6.00.0090.00614.23

preferences:
44.14 ms | 400 KiB | 5 Q