3v4l.org

run code in 300+ PHP versions simultaneously
<?php function list_columns() { return array( array( 'name' => 'object_ref', 'title' => 'Reference', ), array( 'name' => 'name', 'title' => 'Subject', 'class' => 'nocollapse', ), array( 'name' => 'case_priority[value]', 'title' => 'Priority', 'class' => 'nowrap', ), array( 'name' => 'case_status[value]', 'title' => 'Status', 'class' => 'nowrap', ), array( 'name' => 'person[name]', 'title' => 'Contact', ), array( 'name' => 'created_at', 'title' => 'Created', 'class' => 'nowrap', 'format' => 'date_time_format', ), array( 'name' => 'updated_at', 'title' => 'Updated', 'class' => 'nowrap', 'format' => 'date_time_format', ), ); }  $columns = list_columns(); $select_columns = array(); foreach ($columns as $column) {  $select_columns[] = $column['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)
5.4.320.0300.07318.99
5.4.310.0270.06319.20
5.4.300.0200.06719.22
5.4.290.0300.05319.05
5.4.280.0200.07719.14
5.4.270.0300.07319.16
5.4.260.0270.06019.05
5.4.250.0270.06318.87
5.4.240.0270.03319.13
5.4.230.0230.06719.21
5.4.220.0200.08019.21
5.4.210.0230.06718.93
5.4.200.0230.05718.94
5.4.190.0200.07719.34
5.4.180.0270.04719.21
5.4.170.0370.06318.93
5.4.160.0270.06719.11
5.4.150.0300.06319.12
5.4.140.0230.06016.38
5.4.130.0230.03716.29
5.4.120.0270.05716.50
5.4.110.0200.04016.55
5.4.100.0270.07016.45
5.4.90.0270.05316.54
5.4.80.0130.04016.46
5.4.70.0170.04016.54
5.4.60.0300.05716.35
5.4.50.0300.05016.55
5.4.40.0270.06716.38
5.4.30.0230.05716.50
5.4.20.0270.06016.37
5.4.10.0230.05016.51
5.4.00.0270.06715.82
5.3.290.0230.07714.57
5.3.280.0200.04014.49
5.3.270.0270.06014.65
5.3.260.0300.06014.61
5.3.250.0330.06014.65
5.3.240.0230.06314.50
5.3.230.0300.07014.64
5.3.220.0200.05014.68
5.3.210.0200.04314.79
5.3.200.0200.03714.49
5.3.190.0100.05314.57
5.3.180.0270.03314.65
5.3.170.0130.04314.47
5.3.160.0270.07314.64
5.3.150.0270.07014.48
5.3.140.0400.05014.45
5.3.130.0370.06014.54
5.3.120.0300.06314.63
5.3.110.0200.05014.57
5.3.100.0070.06014.01
5.3.90.0230.06714.11
5.3.80.0270.06714.13
5.3.70.0230.07313.91
5.3.60.0200.07013.90
5.3.50.0230.07013.87
5.3.40.0200.07013.85
5.3.30.0230.05313.81
5.3.20.0200.06713.80
5.3.10.0270.06713.80
5.3.00.0270.07013.80
5.2.170.0200.04013.80
5.2.160.0200.05013.80
5.2.150.0170.05713.80
5.2.140.0130.04313.80
5.2.130.0200.05313.80
5.2.120.0300.03713.80
5.2.110.0230.03013.80
5.2.100.0230.05713.80
5.2.90.0230.05013.80
5.2.80.0170.04713.80
5.2.70.0200.05713.80
5.2.60.0270.05313.80
5.2.50.0230.06013.80
5.2.40.0130.06313.80
5.2.30.0130.04313.80
5.2.20.0130.06013.80
5.2.10.0170.05713.80
5.2.00.0170.04313.80
5.1.60.0170.04313.80
5.1.50.0170.04713.80
5.1.40.0170.04013.80
5.1.30.0200.05013.80
5.1.20.0200.05013.80
5.1.10.0170.04313.80
5.1.00.0170.05313.80
5.0.50.0100.04713.80
5.0.40.0130.04013.80
5.0.30.0100.05013.80
5.0.20.0030.04313.80
5.0.10.0100.04313.80
5.0.00.0100.05313.80
4.4.90.0170.02713.80
4.4.80.0030.04013.80
4.4.70.0070.02313.80
4.4.60.0100.02313.80
4.4.50.0170.02713.80
4.4.40.0100.05313.80
4.4.30.0130.03013.80
4.4.20.0100.03313.80
4.4.10.0100.02713.80
4.4.00.0100.05313.80
4.3.110.0070.02713.80
4.3.100.0130.03013.80
4.3.90.0170.03013.80
4.3.80.0070.05313.80
4.3.70.0100.01013.80
4.3.60.0070.02713.80
4.3.50.0070.03713.80
4.3.40.0100.04013.80
4.3.30.0000.02013.80
4.3.20.0030.01713.80
4.3.10.0030.01313.80
4.3.00.0030.03713.80

preferences:
143.58 ms | 1394 KiB | 7 Q