3v4l.org

run code in 300+ PHP versions simultaneously
<?php // global config $cfg = [ // core "sitename" => "Website Name", "siteurl" => "www.example.com", "lang" => "en-gb", "charset" => "UTF-8", // paths "asseturl" => "/assets", // email [ "email" => [ "contact" => "contact@example.com", ]] "pagename" => "Untitled page", "meta_desc" => "", "meta_keyw" => "", "html_class_body" => "", ]; print_r($cfg);

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)
5.4.230.0110.04112.37
5.4.220.0110.04012.37
5.4.210.0110.04012.37
5.4.200.0100.04112.37
5.4.190.0090.04612.37
5.4.180.0130.04412.37
5.4.170.0100.04312.37
5.4.160.0110.04212.37
5.4.150.0100.04412.37
5.4.140.0120.04212.06
5.4.130.0110.04112.04
5.4.120.0180.06312.01
5.4.110.0130.03612.00
5.4.100.0120.04012.00
5.4.90.0100.04212.00
5.4.80.0110.04012.00
5.4.70.0100.03812.00
5.4.60.0100.03911.99
5.4.50.0120.04111.99
5.4.40.0110.03911.98
5.4.30.0190.04711.98
5.4.20.0140.03511.97
5.4.10.0110.04211.98
5.4.00.0110.03911.47
5.3.280.0130.04112.71
5.3.270.0140.04712.72
5.3.260.0120.04112.72
5.3.250.0120.04012.72
5.3.240.0130.03812.72
5.3.230.0110.04312.71
5.3.220.0110.04212.68
5.3.210.0170.05212.68
5.3.200.0120.04512.68
5.3.190.0120.04112.68
5.3.180.0130.03812.67
5.3.170.0110.04012.67
5.3.160.0110.04112.67
5.3.150.0120.04112.67
5.3.140.0120.03912.66
5.3.130.0090.04312.66
5.3.120.0120.04012.66
5.3.110.0110.04212.66
5.3.100.0110.04312.12
5.3.90.0090.04312.08
5.3.80.0110.04312.07
5.3.70.0140.04012.08
5.3.60.0150.05112.06
5.3.50.0100.04612.00
5.3.40.0130.04212.00
5.3.30.0120.03911.94
5.3.20.0120.03811.71
5.3.10.0160.03411.68
5.3.00.0120.03911.66

preferences:
137.67 ms | 1386 KiB | 7 Q