3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sendResponseUrl = 'http://teboreza.ir/TIS/vt/view/read.php?Project'; $mmn='{"success":true,"result":[{"projectname":"alone","startdate":"","targetenddate":"","actualenddate":"","projectstatus":"","projecttype":"","linktoaccountscontacts":"","assigned_user_id":"19x1","project_no":"PROJ2","targetbudget":"","projecturl":"","projectpriority":"","progress":"","createdtime":"2017-08-07 06:13:45","modifiedtime":"2017-08-07 06:13:45","modifiedby":"19x1","description":"man nmitonam inkaro anjam nadam","id":"30x20"},{"projectname":"alone","startdate":"","targetenddate":"","actualenddate":"","projectstatus":"","projecttype":"","linktoaccountscontacts":"","assigned_user_id":"19x1","project_no":"PROJ3","targetbudget":"","projecturl":"","projectpriority":"","progress":"","createdtime":"2017-08-07 06:40:38","modifiedtime":"2017-08-07 06:40:38","modifiedby":"19x1","description":"man nmitonam inkaro anjam nadam","id":"30x22"},{"projectname":"alone","startdate":"","targetenddate":"","actualenddate":"","projectstatus":"","projecttype":"","linktoaccountscontacts":"","assigned_user_id":"19x1","project_no":"PROJ4","targetbudget":"","projecturl":"","projectpriority":"","progress":"","createdtime":"2017-08-07 06:41:07","modifiedtime":"2017-08-07 06:41:07","modifiedby":"19x1","description":"man nmitonam inkaro anjam nadam","id":"30x23"},{"projectname":"alone","startdate":"","targetenddate":"","actualenddate":"","projectstatus":"","projecttype":"","linktoaccountscontacts":"","assigned_user_id":"19x1","project_no":"PROJ5","targetbudget":"","projecturl":"","projectpriority":"","progress":"","createdtime":"2017-08-07 13:17:33","modifiedtime":"2017-08-07 13:17:33","modifiedby":"19x1","description":"man nmitonam inkaro anjam nadam","id":"30x57"}]}'; $a= json_decode($mmn); echo implode( ',', call_user_func_array('array_merge', $a ) );
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.7
Fatal error: Uncaught TypeError: call_user_func_array(): Argument #2 ($args) must be of type array, stdClass given in /in/XHgmf:7 Stack trace: #0 {main} thrown in /in/XHgmf on line 7
Process exited with code 255.
Output for 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
Warning: call_user_func_array() expects parameter 2 to be array, object given in /in/XHgmf on line 7 Warning: implode(): Invalid arguments passed in /in/XHgmf on line 7

preferences:
206.18 ms | 403 KiB | 292 Q