3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function df_explode_camel($name) {return preg_split('#(?<=[a-z])(?=[A-Z])#x', $name);} print_r(array_map('df_explode_camel', ['ZohoCRM', 'ZohoInventory', 'Dynamics365']));
based on 5oudA

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Arrow functions
Array ( [0] => Array ( [0] => Zoho [1] => CRM ) [1] => Array ( [0] => Zoho [1] => Inventory ) [2] => Array ( [0] => Dynamics365 ) )

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