3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stmt = $dbh->prepare("SELECT * FROM registry WHERE name LIKE '%?%'"); $stmt->execute(array($_GET['name']));

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.0130.01016.75
8.3.50.0210.01121.10
8.3.40.0110.00418.79
8.3.30.0120.00318.79
8.3.20.0040.00420.14
8.3.10.0040.00423.66
8.3.00.0080.00017.68
8.2.180.0040.01125.92
8.2.170.0040.01218.88
8.2.160.0110.00320.52
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0050.00226.16
8.2.120.0090.00017.36
8.2.110.0070.01022.16
8.2.100.0060.00617.63
8.2.90.0000.00719.08
8.2.80.0030.00517.97
8.2.70.0000.00817.63
8.2.60.0040.00417.80
8.2.50.0040.00418.07
8.2.40.0040.00419.34
8.2.30.0000.00720.62
8.2.20.0020.00517.70
8.2.10.0040.00417.87
8.2.00.0000.00717.93
8.1.280.0090.00625.92
8.1.270.0150.00023.91
8.1.260.0080.00026.35
8.1.250.0050.00228.09
8.1.240.0060.00322.53
8.1.230.0040.00817.42
8.1.220.0090.00017.78
8.1.210.0040.00418.77
8.1.200.0030.00617.00
8.1.190.0050.00317.22
8.1.180.0030.00618.10
8.1.170.0000.00918.65
8.1.160.0070.00021.95
8.1.150.0070.00018.75
8.1.140.0000.00817.28
8.1.130.0000.00717.54
8.1.120.0000.00717.32
8.1.110.0070.00017.16
8.1.100.0040.00417.24
8.1.90.0040.00417.20
8.1.80.0040.00417.36
8.1.70.0070.00017.29
8.1.60.0040.00417.42
8.1.50.0030.00517.36
8.1.40.0030.00617.46
8.1.30.0040.00417.63
8.1.20.0040.00417.49
8.1.10.0040.00417.46
8.1.00.0000.00717.44
8.0.300.0000.00718.77
8.0.290.0070.00016.75
8.0.280.0030.00318.38
8.0.270.0030.00317.19
8.0.260.0040.00417.13
8.0.250.0040.00416.94
8.0.240.0030.00316.82
8.0.230.0000.00716.95
8.0.220.0000.00716.80
8.0.210.0030.00316.77
8.0.200.0090.00016.96
8.0.190.0040.00416.84
8.0.180.0040.00416.98
8.0.170.0040.00416.95
8.0.160.0080.00016.79
8.0.150.0000.00816.96
8.0.140.0000.00716.75
8.0.130.0030.00313.36
8.0.120.0040.00416.89
8.0.110.0070.00016.90
8.0.100.0000.00716.70
8.0.90.0030.00316.79
8.0.80.0080.00816.90
8.0.70.0050.00216.76
8.0.60.0000.00716.91
8.0.50.0000.00716.92
8.0.30.0080.01017.20
8.0.20.0100.00917.40
8.0.10.0000.00816.85
8.0.00.0110.00716.71
7.4.330.0000.00515.08
7.4.320.0070.00016.34
7.4.300.0060.00016.46
7.4.290.0000.00716.33
7.4.280.0070.00316.54
7.4.270.0030.00316.46
7.4.260.0070.00016.37
7.4.250.0000.00716.44
7.4.240.0030.00316.52
7.4.230.0040.00416.55
7.4.220.0150.00416.37
7.4.210.0040.01116.36
7.4.200.0080.00016.56
7.4.160.0100.00716.63
7.4.150.0110.01017.40
7.4.140.0110.00917.86
7.4.130.0160.01016.34
7.4.120.0080.01016.50
7.4.110.0090.00916.40
7.4.100.0160.01016.52
7.4.90.0110.00616.39
7.4.80.0100.01019.39
7.4.70.0110.01116.44
7.4.60.0030.01216.30
7.4.50.0090.00016.51
7.4.40.0060.01116.53
7.4.30.0060.01216.41
7.4.00.0070.00715.11
7.3.330.0000.00512.99
7.3.320.0050.00013.24
7.3.310.0080.00016.23
7.3.300.0070.00016.25
7.3.290.0080.00516.28
7.3.280.0070.00916.23
7.3.270.0060.01017.40
7.3.260.0080.00816.36
7.3.240.0090.00916.43
7.3.230.0070.01416.53
7.3.210.0140.00316.48
7.3.200.0060.00916.52
7.3.190.0060.01316.33
7.3.180.0110.00516.35
7.3.170.0070.01416.46
7.3.160.0040.01216.47
7.2.330.0080.01116.41
7.2.320.0130.01016.56
7.2.310.0040.01216.50
7.2.300.0160.00016.29
7.2.290.0050.01416.50
7.2.60.0030.01416.73
7.2.00.0100.01018.95
7.1.200.0100.00015.46
7.1.100.0030.00718.05
7.1.70.0000.00716.93
7.1.60.0170.00719.50
7.1.50.0090.01216.94
7.1.00.0030.07722.46
7.0.200.0230.00314.82
7.0.60.0100.03319.93
7.0.50.0070.07317.89
7.0.40.0000.05020.02
7.0.30.0270.05720.00
7.0.20.0230.04020.04
7.0.10.0170.07320.13
7.0.00.0030.04320.19
5.6.280.0070.03021.10
5.6.210.0070.04020.52
5.6.200.0100.07718.19
5.6.190.0070.06720.67
5.6.180.0500.06320.39
5.6.170.0370.07720.51
5.6.160.0000.06720.40
5.6.150.0070.03718.21
5.6.140.0030.05318.18
5.6.130.0100.03718.11
5.6.120.0070.05720.97
5.6.110.0100.06720.97
5.6.100.0070.06720.98
5.6.90.0170.07721.01
5.6.80.0130.07320.47
5.5.350.0070.04020.40
5.5.340.0100.08018.02
5.5.330.0070.06320.29
5.5.320.3500.04720.29
5.5.310.0330.07320.29
5.5.300.0030.04017.93
5.5.290.0030.06017.89
5.5.280.0070.08720.88
5.5.270.0070.08720.78
5.5.260.0230.04320.86
5.5.250.0030.07720.61
5.5.240.0000.07320.25
5.4.450.0700.05719.26
5.4.440.0730.05319.25
5.4.430.0700.05019.25
5.4.420.0670.05019.25
5.4.410.0600.06019.28
5.4.400.0770.05718.94
5.4.390.0630.05718.89
5.4.380.0730.04719.24
5.4.370.0600.06018.71
5.4.360.0770.06019.31
5.4.350.0670.05719.10
5.4.340.0730.05018.74
5.4.320.0670.05318.93
5.4.310.0870.03319.18
5.4.300.0630.05719.19
5.4.290.0700.05019.02
5.4.280.0730.05018.88
5.4.270.0770.04718.85
5.4.260.0770.04318.74
5.4.250.0770.04019.21
5.4.240.0670.05019.04
5.4.230.0670.05018.88
5.4.220.0570.06318.93
5.4.210.0730.04319.21
5.4.200.0730.04719.01
5.4.190.0730.04319.23
5.4.180.0700.04719.02
5.4.170.0600.05718.84
5.4.160.0730.05318.86
5.4.150.0630.05319.29
5.4.140.0670.05016.45
5.4.130.0630.04716.37
5.4.120.0730.04316.46
5.4.110.0770.04316.56
5.4.100.0800.04016.19
5.4.90.0670.05016.45
5.4.80.0700.05016.45
5.4.70.0330.04316.39
5.4.60.0030.07016.41
5.4.50.0000.03316.40
5.4.40.0270.06716.41
5.4.30.0270.04016.40
5.4.20.0030.07016.45

preferences:
43.21 ms | 401 KiB | 5 Q