3v4l.org

run code in 300+ PHP versions simultaneously
<?php $columns = array( 0 => 'ISO', 1 => 'Country', 2 => 'Country Code', 3 => 'Type of number', 4 => 'Voice Enabled', 5 => 'SMS Enabled', 6 => 'MMS Enabled', 7 => 'Domestic Voice Only', 8 => 'Domestic SMS only', 9 => 'Price /num/month', 10 => 'Inbound Voice price/min', 11 => 'Inbound SMS price/msg ', 12 => 'Inbound MMS price/msg ', 13 => 'Beta Status', 14 => 'Address Required', ); $cols = array_filter($columns, '_filter_column_names'); function _filter_column_names($column_name){ $column_name = str_replace(' /', '_', $column_name); $column_name = strtolower(str_replace(array(' ', '/'), '_', trim($column_name))); echo $column_name.', '; return $column_name; } print_r($cols);
Output for git.master, git.master_jit, rfc.property-hooks
iso, country, country_code, type_of_number, voice_enabled, sms_enabled, mms_enabled, domestic_voice_only, domestic_sms_only, price_num_month, inbound_voice_price_min, inbound_sms_price_msg, inbound_mms_price_msg, beta_status, address_required, Array ( [0] => ISO [1] => Country [2] => Country Code [3] => Type of number [4] => Voice Enabled [5] => SMS Enabled [6] => MMS Enabled [7] => Domestic Voice Only [8] => Domestic SMS only [9] => Price /num/month [10] => Inbound Voice price/min [11] => Inbound SMS price/msg [12] => Inbound MMS price/msg [13] => Beta Status [14] => Address Required )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
109.05 ms | 407 KiB | 5 Q