3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = array( 'ordernumber' => '#ordernumber', 'transactionamount' => '#transactionamount', ); array_walk($data, create_function('&$value,$key', '$value = sprintf("%s|%s", $key, $value);') ); echo implode('|', $data);
Output for 7.2.0
Deprecated: Function create_function() is deprecated in /in/WHBCV on line 9 ordernumber|#ordernumber|transactionamount|#transactionamount
Output for 4.3.0 - 7.1.10
ordernumber|#ordernumber|transactionamount|#transactionamount