3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fileClass = tmpfile(); $url = 'https://raw.githubusercontent.com/colshrapnel/safemysql/master/safemysql.class.php'; try{ file_put_contents($fileClass, file_get_contents($url)) ; require $fileClass; } catch(Exception $e){ die('could not load lybrary because '. $e->getMessage()); }

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.0040.01818.56
8.3.50.0110.00316.47
8.3.40.0100.01018.97
8.3.30.0120.00318.79
8.3.20.0130.00620.13
8.3.10.0040.00423.64
8.3.00.0000.00819.81
8.2.180.0070.01116.47
8.2.170.0140.01022.96
8.2.160.0100.01019.04
8.2.150.0000.00824.18
8.2.140.0040.01124.66
8.2.130.0080.00021.18
8.2.120.0070.00026.35
8.2.110.0090.00020.94
8.2.100.0000.01117.91
8.2.90.0000.00818.01
8.2.80.0040.00418.05
8.2.70.0040.00417.63
8.2.60.0040.00417.80
8.2.50.0040.00418.10
8.2.40.0050.00320.43
8.2.30.0060.00319.20
8.2.20.0040.00417.98
8.2.10.0040.00418.15
8.2.00.0020.00517.95
8.1.280.0080.00825.92
8.1.270.0000.00823.99
8.1.260.0020.00526.35
8.1.250.0000.00828.09
8.1.240.0040.00423.98
8.1.230.0090.00420.99
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0100.00017.35
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0080.00018.61
8.1.160.0050.00219.10
8.1.150.0080.00020.50
8.1.140.0070.00019.57
8.1.130.0030.00318.76
8.1.120.0040.00417.45
8.1.110.0030.00517.38
8.1.100.0060.00317.43
8.1.90.0000.00817.31
8.1.80.0050.00317.41
8.1.70.0040.00417.29
8.1.60.0000.00817.53
8.1.50.0000.00817.43
8.1.40.0030.00517.41
8.1.30.0030.00617.59
8.1.20.0000.00817.58
8.1.10.0040.00417.64
8.1.00.0050.00217.39
8.0.300.0030.00520.07
8.0.290.0000.00716.75
8.0.280.0030.00518.49
8.0.270.0030.00517.28
8.0.260.0030.00316.98
8.0.250.0030.00317.05
8.0.240.0030.00616.92
8.0.230.0030.00316.93
8.0.220.0000.00716.95
8.0.210.0000.00716.94
8.0.200.0000.00717.02
8.0.190.0080.00017.05
8.0.180.0070.00017.01
8.0.170.0000.00716.96
8.0.160.0000.00717.01
8.0.150.0040.00416.88
8.0.140.0040.00416.93
8.0.130.0000.01013.43
8.0.120.0000.00816.90
8.0.110.0040.00417.02
8.0.100.0040.00416.95
8.0.90.0020.00516.91
8.0.80.0090.01216.98
8.0.70.0040.00417.01
8.0.60.0070.00016.93
8.0.50.0050.00217.04
8.0.30.0090.01017.11
8.0.20.0100.01117.40
8.0.10.0040.00417.09
8.0.00.0150.00316.95
7.4.330.0060.00015.55
7.4.320.0030.00316.68
7.4.300.0030.00316.50
7.4.290.0070.00016.60
7.4.280.0000.00716.65
7.4.270.0030.00316.64
7.4.260.0030.00316.51
7.4.250.0040.00416.58
7.4.240.0070.00016.51
7.4.230.0000.00716.63
7.4.220.0060.01316.63
7.4.210.0060.00916.60
7.4.200.0030.00316.72
7.4.160.0080.01116.51
7.4.150.0120.01517.40
7.4.140.0120.00617.86
7.4.130.0110.00816.54
7.4.120.0160.00516.57
7.4.110.0070.01316.55
7.4.100.0140.00816.43
7.4.90.0060.01216.64
7.4.80.0030.01719.39
7.4.70.0130.00316.63
7.4.60.0110.00616.61
7.4.50.0090.00316.50
7.4.40.0100.00716.40
7.4.30.0100.00716.45
7.4.00.0070.00714.91
7.3.330.0000.00513.27
7.3.320.0050.00013.23
7.3.310.0030.00316.34
7.3.300.0000.00716.30
7.3.290.0000.00716.33
7.3.280.0080.00916.30
7.3.270.0030.01417.40
7.3.260.0070.01116.32
7.3.250.0100.00716.35
7.3.240.0090.01116.36
7.3.230.0130.00716.29
7.3.210.0120.00616.51
7.3.200.0120.00916.28
7.3.190.0100.00716.35
7.3.180.0140.00316.39
7.3.170.0080.00816.52
7.3.160.0120.00316.28
7.2.330.0030.01616.54
7.2.320.0130.00416.40
7.2.310.0140.00416.62
7.2.300.0120.01216.60
7.2.290.0030.01316.52
7.2.90.0520.00714.55
7.2.80.0550.00614.79
7.2.70.0450.01014.96
7.2.60.0700.00715.07
7.2.50.0970.00615.12
7.2.40.0500.00615.13
7.2.30.0630.00715.13
7.2.20.0810.00714.76
7.2.10.0690.00715.09
7.2.00.0810.01715.08
7.1.210.0400.01014.07
7.1.200.0580.00613.68
7.1.190.0530.00613.91
7.1.180.0730.00313.85
7.1.170.0550.01013.98
7.1.160.0640.00913.93
7.1.150.0620.00713.86
7.1.140.0760.00614.01
7.1.130.1040.00313.88
7.1.120.0550.01013.80
7.1.110.0600.01013.72
7.1.100.0100.00314.02
7.1.90.0540.00613.67
7.1.80.0730.01013.66
7.1.70.0550.00613.82
7.1.60.0720.01431.58
7.1.50.0630.00431.83
7.1.40.0620.00331.82
7.1.30.0620.00731.62
7.1.20.0210.01831.63
7.1.10.0080.00413.67
7.1.00.0150.00013.72
7.0.310.0650.00713.61
7.0.300.0630.00713.32
7.0.290.0630.00713.24
7.0.280.0680.00313.38
7.0.270.1220.00713.34
7.0.260.0300.00413.34
7.0.250.0190.00813.53
7.0.240.0590.01013.29
7.0.230.0550.00613.46
7.0.220.0580.01013.42
7.0.210.0770.00313.46
7.0.200.0210.00613.51
7.0.190.0290.00613.56
7.0.180.0430.00013.59
7.0.170.0690.00013.62
7.0.160.0340.00913.58
7.0.150.0380.01213.39
7.0.140.1140.00613.63
7.0.130.0230.00613.54
7.0.120.0260.00313.40
7.0.110.0100.01413.20
7.0.100.0560.00413.52
7.0.90.0300.00713.41
7.0.80.0240.00913.69
7.0.70.0180.00713.43
7.0.60.0220.00013.52
7.0.50.0540.00013.32
7.0.40.0180.00713.64
7.0.30.0200.00613.61
7.0.20.0310.00713.27
7.0.10.0160.00813.60
7.0.00.0110.00713.33

preferences:
49.34 ms | 401 KiB | 5 Q