3v4l.org

run code in 300+ PHP versions simultaneously
<?php $servername = "mysql.lab.imgd.ca"; $username = "n0203955_abhiram"; $password = "Ashaj3955"; $dbname = "n0203955_quickscope"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } echo "Connected successfully"; $conn->close(); ?> <?php $servername = "mysql.lab.imgd.ca"; $username = "n0203955_abhiram"; $password = "Ashaj3955"; $dbname = "n0203955_quickscope"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } echo "Connected successfully"; $conn->close(); ?>

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.4.20.0140.00321.17
8.4.10.0380.00917.20
8.3.150.0110.00717.17
8.3.140.0380.00816.18
8.3.130.0570.00016.36
8.3.120.0330.01116.36
8.3.110.0300.01116.69
8.3.100.0270.01316.47
8.3.90.0270.00716.39
8.3.80.0380.00316.66
8.3.70.0280.00916.62
8.3.60.0360.00716.41
8.3.50.0360.01116.16
8.3.40.0300.00617.58
8.3.30.0350.00317.50
8.3.20.0380.00617.43
8.3.10.0260.01017.68
8.3.00.0110.01117.53
8.2.270.0150.00417.05
8.2.260.0170.02116.79
8.2.250.0230.01516.54
8.2.240.0250.01316.83
8.2.230.0280.01016.11
8.2.220.0260.01316.65
8.2.210.0320.00616.60
8.2.200.0360.00316.72
8.2.190.0350.00816.92
8.2.180.0410.00016.59
8.2.170.0320.01017.62
8.2.160.0360.00317.48
8.2.150.0240.01217.69
8.2.140.0260.00717.31
8.2.130.0290.01317.39
8.2.120.0330.00817.54
8.2.110.0340.00917.69
8.2.100.0370.00617.53
8.2.90.0310.00817.48
8.2.80.0350.00417.31
8.2.70.0390.00017.16
8.2.60.0350.00417.47
8.2.50.0360.00417.31
8.2.40.0280.01117.45
8.2.30.0300.00617.50
8.2.20.0210.01217.58
8.2.10.0260.00717.41
8.2.00.0270.00317.45

preferences:
25.14 ms | 403 KiB | 5 Q