3v4l.org

run code in 300+ PHP versions simultaneously
<?php if($stmt=$connection->prepare('SELECT user_ID FROM users WHERE email=(?)')) { $stmt->bind_param('s',$email); $stmt->execute(); $stmt->bind_result($user_ID); while ($stmt->fetch()) { $user=$user_ID; } if($stmt->errno!==0) { } $stmt->close(); } else { }

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.0050.01018.73
8.3.30.0120.00318.57
8.3.20.0080.00018.86
8.3.10.0040.00419.34
8.3.00.0070.00023.69
8.2.170.0000.01418.95
8.2.160.0100.00722.96
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0090.00021.05
8.2.110.0110.00019.23
8.2.100.0070.00417.78
8.2.90.0040.00417.75
8.2.80.0040.00418.79
8.2.70.0030.00517.93
8.2.60.0040.00417.90
8.2.50.0030.00518.10
8.2.40.0000.00819.16
8.2.30.0000.00719.27
8.2.20.0030.00517.99
8.2.10.0040.00419.79
8.2.00.0000.00719.24
8.1.270.0040.00421.86
8.1.260.0030.00626.35
8.1.250.0050.00228.09
8.1.240.0030.00619.41
8.1.230.0040.00720.89
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0000.00917.11
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0000.00818.60
8.1.160.0000.00818.70
8.1.150.0000.00718.79
8.1.140.0040.00417.57
8.1.130.0000.00618.86
8.1.120.0050.00317.35
8.1.110.0060.00317.38
8.1.100.0080.00017.38
8.1.90.0060.00317.22
8.1.80.0000.00917.22
8.1.70.0040.00417.34
8.1.60.0100.00017.32
8.1.50.0040.00417.35
8.1.40.0040.00417.45
8.1.30.0000.00817.53
8.1.20.0070.00317.56
8.1.10.0050.00317.48
8.1.00.0060.00317.32
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0000.00718.23
8.0.270.0050.00216.75
8.0.260.0030.00317.25
8.0.250.0000.00716.85
8.0.240.0000.00716.90
8.0.230.0090.00016.81
8.0.220.0040.00416.86
8.0.210.0060.00316.87
8.0.200.0050.00316.99
8.0.190.0080.00016.92
8.0.180.0040.00416.99
8.0.170.0040.00416.81
8.0.160.0040.00416.85
8.0.150.0040.00416.79
8.0.140.0000.00716.87
8.0.130.0000.00513.29
8.0.120.0050.00316.82
8.0.110.0040.00416.97
8.0.100.0000.00816.78
8.0.90.0040.00416.76
8.0.80.0080.00816.87
8.0.70.0040.00416.84
8.0.60.0040.00416.76
8.0.50.0000.00716.73
8.0.30.0080.01117.02
8.0.20.0110.01117.40
8.0.10.0000.00716.94
8.0.00.0050.01316.63
7.4.330.0030.00315.55
7.4.320.0060.00016.52
7.4.300.0000.00616.52
7.4.290.0030.00316.44
7.4.280.0040.00416.40
7.4.270.0000.00716.45
7.4.260.0030.00316.51
7.4.250.0030.00316.48
7.4.240.0040.00416.50
7.4.230.0070.00016.52
7.4.220.0040.00416.27
7.4.210.0030.01216.52
7.4.200.0070.00016.56
7.4.160.0090.01016.53
7.4.140.0100.01017.86
7.4.130.0090.00916.46
7.4.120.0120.00916.43
7.4.110.0080.01216.48
7.4.100.0100.01316.32
7.4.90.0100.01316.58
7.4.80.0110.00719.39
7.4.70.0040.01216.44
7.4.60.0090.00916.67
7.4.50.0110.00716.28
7.4.40.0100.01316.58
7.4.00.0060.00614.93
7.3.330.0060.00013.10
7.3.320.0050.00013.21
7.3.310.0070.00016.34
7.3.300.0080.00016.25
7.3.290.0050.00316.34
7.3.280.0070.00916.25
7.3.260.0100.01116.37
7.3.240.0110.00816.37
7.3.230.0050.01116.28
7.3.210.0090.01216.46
7.3.200.0060.01216.41
7.3.190.0110.00616.31
7.3.180.0090.01216.27
7.3.170.0040.01216.36
7.3.160.0120.00416.30
7.3.10.0070.00716.30
7.3.00.0110.00016.51
7.2.330.0170.00916.41
7.2.320.0070.01316.51
7.2.310.0110.00816.57
7.2.300.0070.01016.41
7.2.290.0040.01716.28
7.2.130.0100.00616.73
7.2.120.0100.00716.63
7.2.110.0080.00416.82
7.2.100.0080.00416.74
7.2.90.0070.00716.73
7.2.80.0100.00316.59
7.2.70.0070.00716.28
7.2.60.0790.00715.80
7.2.50.1140.00915.82
7.2.40.0770.00415.96
7.2.30.0780.01116.07
7.2.20.0700.00816.02
7.2.10.0930.00816.18
7.2.00.0730.01016.11
7.1.250.0070.01015.48
7.1.200.0030.01015.28
7.1.170.1450.00713.57
7.1.160.1520.01116.46
7.1.150.1210.01316.82
7.1.140.1960.01416.89
7.1.130.1530.01116.31
7.1.120.1110.01116.63
7.1.110.1650.00616.11
7.1.100.1400.00715.97
7.1.90.1740.00815.91
7.1.80.1840.01216.11
7.1.70.1790.01015.07
7.1.60.1760.01333.24
7.1.50.1820.01332.94
7.1.40.1870.01332.44
7.1.30.1920.02032.43
7.1.20.1780.01632.80
7.1.10.1750.01114.52
7.1.00.1550.00814.55

preferences:
55.44 ms | 400 KiB | 5 Q