3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $paramList = array(); $paramList['Shop_IDP'] = '1111111'; $paramList['Order_IDP'] = 125; $paramList['Subtotal_P'] = sprintf('%.2f', (float)235.69); $paramList['Parent_Order_IDP'] = 125; $signaturePart = implode('&', array_map(\md5, $paramList)); echo $signaturePart;
based on 2qpCB
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Undefined constant 'md5' in /in/1EJEU:8 Stack trace: #0 {main} thrown in /in/1EJEU on line 8
Process exited with code 255.
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0
Fatal error: Undefined constant 'md5' in /in/1EJEU on line 8
Process exited with code 255.
Output for 4.3.0 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/1EJEU on line 8 Notice: Use of undefined constant md5 - assumed 'md5' in /in/1EJEU on line 8 7fa8282ad93047a4d6fe6111c93b308a&3def184ad8f4755ff269862ea77393dd&4844685fce6cb8b6a898472ff97ef768&3def184ad8f4755ff269862ea77393dd