@ 2018-08-05T15:44:48Z <?php
$jsonString = '[{"salesid":130201411173700750}]';
$payments = json_decode(stripslashes(html_entity_decode(rtrim($jsonString, '\0'))), true);
$values = '';
foreach ($payments as $key => $value) {
$value = (object)$value;
if ($values != '') {
$values .= ',';
}
printResponse(false, "sales id: $value->salesid");
exit;
//more code omitted...
}
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.1.0 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.33 , 7.4.0 - 7.4.33 , 8.0.0 - 8.0.30 , 8.1.0 - 8.1.33 , 8.2.0 - 8.2.29 , 8.3.0 - 8.3.25 , 8.4.1 - 8.4.12 Fatal error: Uncaught Error: Call to undefined function printResponse() in /in/vrqSh:12
Stack trace:
#0 {main}
thrown in /in/vrqSh on line 12
Process exited with code 255 . preferences:dark mode live preview ace vim emacs key bindings
127.66 ms | 408 KiB | 5 Q