3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mystring = 'Error : /Users/abdulmalikikhsan/www/zf2_fsplaza/vendor/zendframework/zendframework/library/Zend/Db/Adapter/Driver/Pdo/Connection.php<b>E_ERROR'; $findme = ' /Users/abdulmalikikhsan/www/zf2_fsplaza/vendor/zendframework/zendframework/library/Zend/Db/Adapter/Driver/Pdo/Connection.php<b>E_ERROR'; $pos = strpos($mystring, $findme); // Note our use of ===. Simply == would not work as expected // because the position of 'a' was the 0th (first) character. if ($pos === false) { echo "The string '$findme' was not found in the string '$mystring'"; } else { echo "The string '$findme' was found in the string '$mystring'"; echo " and exists at position $pos"; }

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.0140.00718.18
8.3.50.0080.01021.92
8.3.40.0160.00618.58
8.3.30.0130.00920.29
8.3.20.0090.00018.60
8.3.10.0100.01020.96
8.3.00.0160.00319.56
8.2.180.0160.00716.50
8.2.170.0120.00322.96
8.2.160.0040.01120.47
8.2.150.0060.00324.18
8.2.140.0140.00424.66
8.2.130.0030.00526.16
8.2.120.0160.00719.16
8.2.110.0030.00620.52
8.2.100.0090.00317.86
8.2.90.0080.00019.29
8.2.80.0050.00317.97
8.2.70.0000.00817.50
8.2.60.0000.00817.93
8.2.50.0000.00818.10
8.2.40.0100.00320.36
8.2.30.0040.00421.24
8.2.20.0080.00017.67
8.2.10.0000.00817.81
8.2.00.0100.00017.86
8.1.280.0100.00725.92
8.1.270.0030.00623.99
8.1.260.0030.00626.35
8.1.250.0120.00628.09
8.1.240.0080.00322.28
8.1.230.0110.00017.70
8.1.220.0080.00617.74
8.1.210.0050.00318.77
8.1.200.0030.00617.23
8.1.190.0000.00817.22
8.1.180.0000.00818.10
8.1.170.0090.00018.59
8.1.160.0070.00022.16
8.1.150.0100.00018.51
8.1.140.0040.00417.28
8.1.130.0000.00717.86
8.1.120.0040.00417.35
8.1.110.0040.00417.39
8.1.100.0000.00717.46
8.1.90.0050.00217.25
8.1.80.0000.00817.40
8.1.70.0000.00717.39
8.1.60.0060.00317.53
8.1.50.0000.00817.46
8.1.40.0000.00817.50
8.1.30.0040.00417.55
8.1.20.0000.00817.59
8.1.10.0000.00817.43
8.1.00.0030.00617.44
8.0.300.0080.00018.77
8.0.290.0080.00016.75
8.0.280.0030.00518.52
8.0.270.0080.00017.27
8.0.260.0000.00716.74
8.0.250.0050.00316.98
8.0.240.0000.00716.94
8.0.230.0000.00717.00
8.0.220.0030.00316.91
8.0.210.0000.00816.79
8.0.200.0000.00717.01
8.0.190.0070.00017.02
8.0.180.0080.00016.92
8.0.170.0040.00416.84
8.0.160.0040.00416.84
8.0.150.0040.00316.85
8.0.140.0070.00016.83
8.0.130.0000.00613.33
8.0.120.0000.00716.83
8.0.110.0000.00816.95
8.0.100.0000.00716.87
8.0.90.0000.00716.75
8.0.80.0160.00716.89
8.0.70.0070.00016.91
8.0.60.0050.00316.81
8.0.50.0040.00416.75
8.0.30.0110.01117.18
8.0.20.0240.00617.40
8.0.10.0000.00717.04
8.0.00.0060.01216.76
7.4.330.0000.00516.78
7.4.320.0000.00616.57
7.4.300.0000.00916.50
7.4.290.0030.00316.47
7.4.280.0050.00316.61
7.4.270.0000.00716.61
7.4.260.0050.00013.41
7.4.250.0040.00416.38
7.4.240.0070.00016.61
7.4.230.0080.00016.50
7.4.220.0100.00716.52
7.4.210.0100.00716.54
7.4.200.0000.00716.32
7.4.190.0000.00816.52
7.4.160.0130.01016.59
7.4.150.0100.00717.40
7.4.140.0100.01217.86
7.4.130.0110.00816.48
7.4.120.0080.00816.58
7.4.110.0160.00616.50
7.4.100.0120.00916.51
7.4.90.0150.00316.66
7.4.80.0090.01319.39
7.4.70.0100.01316.36
7.4.60.0110.00516.35
7.4.50.0060.00016.57
7.4.40.0070.00722.77
7.4.30.0100.00716.59
7.4.00.0040.01115.08
7.3.330.0030.00313.09
7.3.320.0030.00312.93
7.3.310.0000.00716.07
7.3.300.0030.00316.05
7.3.290.0030.01016.17
7.3.280.0030.01216.18
7.3.270.0100.00717.40
7.3.260.0090.01218.24
7.3.250.0090.00716.47
7.3.240.0080.00816.42
7.3.230.0090.00916.39
7.3.210.0060.01316.23
7.3.200.0090.00919.39
7.3.190.0160.00616.42
7.3.180.0170.00016.33
7.3.170.0060.01116.51
7.3.160.0080.00816.46
7.3.120.0030.00914.79
7.2.330.0260.01716.60
7.2.320.0060.01016.59
7.2.310.0120.00616.68
7.2.300.0100.00716.60
7.2.290.0110.00616.63
7.2.00.0060.01019.52
7.1.100.0000.01117.79
7.1.70.0110.00417.31
7.1.60.0100.00619.24
7.1.50.0130.01017.02
7.1.00.0030.07322.37
7.0.200.0000.01016.97
7.0.140.0070.07022.07
7.0.100.0130.07720.06
7.0.90.0370.07319.86
7.0.80.0070.04319.93
7.0.70.0070.06719.90
7.0.60.0400.06720.04
7.0.50.0130.08020.25
7.0.40.0100.05320.14
7.0.30.0230.04720.15
7.0.20.0070.04320.14
7.0.10.0070.08020.05
7.0.00.0070.08319.95
5.6.280.0070.07021.14
5.6.250.0030.08720.77
5.6.240.0070.08020.70
5.6.230.0100.08020.63
5.6.220.0000.08020.66
5.6.210.0070.05320.49
5.6.200.0070.07721.05
5.6.190.0070.08321.05
5.6.180.0030.05321.14
5.6.170.0130.04021.05
5.6.160.0100.08021.04
5.6.150.0070.08321.01
5.6.140.0100.06020.96
5.6.130.0100.07721.03
5.6.120.0200.07021.17
5.6.110.0030.09020.95
5.6.100.0070.08020.99
5.6.90.0000.04320.98
5.6.80.0070.04020.56
5.6.70.0200.05720.43
5.6.60.0100.07720.37
5.6.50.0030.05020.46
5.6.40.0170.06720.42
5.6.30.0200.08320.44
5.6.20.0100.07020.29
5.6.10.0100.08020.35
5.6.00.0100.07320.39
5.5.380.0170.06320.40
5.5.370.0030.06320.57
5.5.360.0070.03320.41
5.5.350.0030.08320.41
5.5.340.0170.04320.77
5.5.330.0000.10020.90
5.5.320.0130.07020.90
5.5.310.0130.07320.90
5.5.300.0030.08320.89
5.5.290.0170.06720.88
5.5.280.0200.07020.89
5.5.270.0070.08320.92
5.5.260.0070.08320.88
5.5.250.0070.04720.68
5.5.240.0030.06320.27
5.5.230.0070.08020.17
5.5.220.0130.04020.30
5.5.210.0130.04020.14
5.5.200.0130.06720.24
5.5.190.0130.04020.08
5.5.180.0170.07020.21
5.5.160.0100.07719.98
5.5.150.0030.04720.18
5.5.140.0070.07319.98
5.5.130.0070.07020.25
5.5.120.0030.08020.08
5.5.110.0030.07720.11
5.5.100.0070.09020.14
5.5.90.0170.06320.17
5.5.80.0130.07719.98
5.5.70.0100.07020.00
5.5.60.0130.07019.96
5.5.50.0100.07320.09
5.5.40.0070.07720.08
5.5.30.0070.07320.00
5.5.20.0130.07319.92
5.5.10.0100.07020.03
5.5.00.0070.07020.06
5.4.450.0170.07319.46
5.4.440.0130.07319.44
5.4.430.0030.08019.27
5.4.420.0070.07319.32
5.4.410.0170.06719.14
5.4.400.0070.07319.07
5.4.390.0000.08319.03
5.4.380.0130.06319.05
5.4.370.0100.07319.07
5.4.360.0070.07719.14
5.4.350.0100.06319.12
5.4.340.0000.08018.82
5.4.320.0130.07719.23
5.4.310.0100.06719.03
5.4.300.0130.07018.88
5.4.290.0030.08318.95
5.4.280.0230.06318.95
5.4.270.0070.07019.23
5.4.260.0100.04719.07
5.4.250.0130.06718.94
5.4.240.0000.05319.02
5.4.230.0070.07718.81
5.4.220.0100.07018.78
5.4.210.0100.05718.89
5.4.200.0070.07319.09
5.4.190.0130.06718.97
5.4.180.0100.07019.12
5.4.170.0100.07319.12
5.4.160.0030.08019.08
5.4.150.0170.08319.10
5.4.140.0100.07016.07
5.4.130.0100.07016.29
5.4.120.0100.06016.25
5.4.110.0030.08016.41
5.4.100.0200.05716.36
5.4.90.0200.05716.39
5.4.80.0070.07316.38
5.4.70.0030.07316.43
5.4.60.0100.06016.42
5.4.50.0070.07016.47
5.4.40.0100.06716.46
5.4.30.0100.06316.45
5.4.20.0130.06316.18
5.4.10.0070.08016.30
5.4.00.0070.07315.74
5.3.290.0070.07714.59
5.3.280.0030.07714.44
5.3.270.0100.07714.46
5.3.260.0130.03714.60
5.3.250.0100.06714.47
5.3.240.0030.08014.52
5.3.230.0100.08014.59
5.3.220.0100.03314.41
5.3.210.0130.07014.42
5.3.200.0070.07714.50
5.3.190.0070.07014.43
5.3.180.0130.06314.55
5.3.170.0100.07014.53
5.3.160.0070.07714.42
5.3.150.0030.08014.55
5.3.140.0030.07714.50
5.3.130.0070.04314.37
5.3.120.0030.04314.41
5.3.110.0100.07014.40
5.3.100.0000.05314.04
5.3.90.0030.03713.98
5.3.80.0030.04713.87
5.3.70.0100.07013.79
5.3.60.0100.05013.76
5.3.50.0070.07013.80
5.3.40.0100.07013.88
5.3.30.0100.03313.87
5.3.20.0070.07013.69
5.3.10.0130.06313.57
5.3.00.0070.05013.63
5.2.170.0070.06011.18
5.2.160.0030.04711.09
5.2.150.0030.06011.16
5.2.140.0100.05311.10
5.2.130.0000.03710.97
5.2.120.0100.06011.02
5.2.110.0100.05711.17
5.2.100.0100.05310.89
5.2.90.0030.04011.07
5.2.80.0070.06011.04
5.2.70.0070.06011.04
5.2.60.0170.05010.89
5.2.50.0030.05310.82
5.2.40.0130.05011.04
5.2.30.0100.03010.95
5.2.20.0130.04310.99
5.2.10.0170.03710.86
5.2.00.0070.05310.83
5.1.60.0030.04710.02
5.1.50.0000.0279.98
5.1.40.0030.0239.98
5.1.30.0030.05710.39
5.1.20.0000.04310.28
5.1.10.0030.05010.14
5.1.00.0070.05010.14
5.0.50.0070.0408.55
5.0.40.0030.0308.41
5.0.30.0030.0478.35
5.0.20.0030.0208.26
5.0.10.0000.0308.06
5.0.00.0030.0638.17
4.4.90.0030.0337.85
4.4.80.0000.0307.85
4.4.70.0030.0277.85
4.4.60.0000.0337.85
4.4.50.0100.0177.85
4.4.40.0000.0307.85
4.4.30.0000.0377.85
4.4.20.0070.0277.85
4.4.10.0070.0307.85
4.4.00.0000.0377.85
4.3.110.0030.0277.85
4.3.100.0100.0277.85
4.3.90.0030.0337.85
4.3.80.0030.0477.85
4.3.70.0000.0307.85
4.3.60.0030.0307.85
4.3.50.0030.0337.85
4.3.40.0000.0407.85
4.3.30.0000.0177.85
4.3.20.0000.0277.85
4.3.10.0000.0307.85
4.3.00.0000.0277.85

preferences:
56.63 ms | 401 KiB | 5 Q