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,true); foreach($a as $row) { foreach($row['result'] as $k) { echo $k['projectname']; } }
Output for git.master, git.master_jit
Warning: Trying to access array offset on value of type bool in /in/ioUoi on line 9 Warning: foreach() argument must be of type array|object, null given in /in/ioUoi on line 9 Warning: Undefined array key "result" in /in/ioUoi on line 9 Warning: foreach() argument must be of type array|object, null given in /in/ioUoi on line 9
Output for rfc.property-hooks
Warning: Trying to access array offset on true in /in/ioUoi on line 9 Warning: foreach() argument must be of type array|object, null given in /in/ioUoi on line 9 Warning: Undefined array key "result" in /in/ioUoi on line 9 Warning: foreach() argument must be of type array|object, null given in /in/ioUoi on line 9

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

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


preferences:
32.87 ms | 401 KiB | 8 Q