note 86320 deleted from ref.soap by cmb

From: Date: Sun, 24 Nov 2019 08:29:59 +0000
Subject: note 86320 deleted from ref.soap by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-213176@lists.php.net to get a copy of this message
Note Submitter: admin at localfm dot info ---- As you may find, SOAP functions return result of type stdClass, not array. It means that you'll need to use $row->id instead of $row['id'] which may be inconvenient. You can cast stdClass to array using this construction: <?php $data = $soap->getMyData($someParams); $data = (array)$data; print $data['field']; // now it works ?>

« previous php.notes (#213176) next »