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', ), ); } $output = $head = ''; $columns = list_columns(); $select_columns = array(); foreach ($columns as $column) { $select_columns[] = $column['name']; }echo $select_columns[0];?>

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.0230.04018.87
5.4.310.0370.02719.20
5.4.300.0300.04719.09
5.4.290.0300.03719.08
5.4.280.0270.07319.16
5.4.270.0400.05018.85
5.4.260.0330.06718.95
5.4.250.0270.08019.08
5.4.240.0330.04718.84
5.4.230.0270.04319.19
5.4.220.0330.05718.87
5.4.210.0300.07019.08
5.4.200.0330.05019.10
5.4.190.0400.06318.86
5.4.180.0370.04019.05
5.4.170.0300.04319.08
5.4.160.0300.07019.21
5.4.150.0230.06719.04
5.4.140.0330.06716.38
5.4.130.0330.06316.28
5.4.120.0370.06316.51
5.4.110.0330.06316.46
5.4.100.0300.07016.45
5.4.90.0270.03716.62
5.4.80.0530.06316.43
5.4.70.0370.06316.52
5.4.60.0230.04716.17
5.4.50.0270.04316.25
5.4.40.0370.06016.54
5.4.30.0300.06716.56
5.4.20.0300.06716.51
5.4.10.0400.06016.53
5.4.00.0300.07015.91
5.3.290.0430.06014.66
5.3.280.0400.04314.51
5.3.270.0330.06314.72
5.3.260.0330.06714.59
5.3.250.0370.04014.82
5.3.240.0330.06314.65
5.3.230.0230.04014.52
5.3.220.0300.04314.74
5.3.210.0300.04314.65
5.3.200.0270.05714.65
5.3.190.0300.07014.57
5.3.180.0330.07014.78
5.3.170.0300.04314.64
5.3.160.0300.06714.50
5.3.150.0330.05714.58
5.3.140.0270.06314.66
5.3.130.0270.05014.54
5.3.120.0400.06014.52
5.3.110.0270.04714.63
5.3.100.0330.04714.20
5.3.90.0270.04314.13
5.3.80.0270.04713.92
5.3.70.0270.06714.09
5.3.60.0300.06013.93
5.3.50.0330.04013.84
5.3.40.0300.05013.88
5.3.30.0200.04013.96
5.3.20.0230.04713.61
5.3.10.0270.07013.71
5.3.00.0300.04013.71
5.2.170.0230.05312.14
5.2.160.0170.03712.14
5.2.150.0200.03012.14
5.2.140.0270.02712.14
5.2.130.0170.04012.14
5.2.120.0300.05012.14
5.2.110.0230.06312.14
5.2.100.0300.05012.14
5.2.90.0200.05712.14
5.2.80.0270.06012.14
5.2.70.0200.06312.14
5.2.60.0330.04712.14
5.2.50.0300.04012.14
5.2.40.0200.04712.14
5.2.30.0200.06012.14
5.2.20.0170.05012.14
5.2.10.0170.06312.14
5.2.00.0200.05312.14
5.1.60.0230.05012.14
5.1.50.0130.04312.14
5.1.40.0230.03712.14
5.1.30.0230.02312.14
5.1.20.0270.05012.14
5.1.10.0270.04012.14
5.1.00.0330.05012.14
5.0.50.0100.02712.14
5.0.40.0070.04712.14
5.0.30.0100.06312.14
5.0.20.0100.03312.14
5.0.10.0100.03012.14
5.0.00.0130.06012.14
4.4.90.0030.04012.14
4.4.80.0130.02012.14
4.4.70.0100.03712.14
4.4.60.0200.02312.14
4.4.50.0170.03312.14
4.4.40.0100.04712.14
4.4.30.0130.03012.14
4.4.20.0100.03312.14
4.4.10.0100.02712.14
4.4.00.0100.03012.14
4.3.110.0170.02012.14
4.3.100.0130.03312.14
4.3.90.0100.03012.14
4.3.80.0100.03712.14
4.3.70.0130.01312.14
4.3.60.0130.03012.14
4.3.50.0100.02012.14
4.3.40.0130.05012.14
4.3.30.0100.03312.14
4.3.20.0070.02312.14
4.3.10.0170.01312.14
4.3.00.0070.02012.14

preferences:
139.99 ms | 1394 KiB | 7 Q