3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // created: 2014-04-04 12:45:53 $modules_sources = array ( 'Accounts' => array ( // 'ext_soap_hoovers' => 'ext_soap_hoovers', 'ext_rest_twitter' => 'ext_rest_twitter', 'ext_rest_linkedin' => 'ext_rest_linkedin', ), 'Contacts' => array ( 'ext_rest_twitter' => 'ext_rest_twitter', 'ext_rest_linkedin' => 'ext_rest_linkedin', ), 'Leads' => array ( 'ext_rest_twitter' => 'ext_rest_twitter', 'ext_rest_linkedin' => 'ext_rest_linkedin', ), 'Prospects' => array ( 'ext_rest_twitter' => 'ext_rest_twitter', 'ext_rest_linkedin' => 'ext_rest_linkedin', ), 'Opportunities' => array ( ), ); print_r($modules_sources);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [Accounts] => Array ( [ext_rest_twitter] => ext_rest_twitter [ext_rest_linkedin] => ext_rest_linkedin ) [Contacts] => Array ( [ext_rest_twitter] => ext_rest_twitter [ext_rest_linkedin] => ext_rest_linkedin ) [Leads] => Array ( [ext_rest_twitter] => ext_rest_twitter [ext_rest_linkedin] => ext_rest_linkedin ) [Prospects] => Array ( [ext_rest_twitter] => ext_rest_twitter [ext_rest_linkedin] => ext_rest_linkedin ) [Opportunities] => Array ( ) )