note 127217 added to function.print
| From: | JoachimKruyswijk at main dot php dot net | Date: | Mon, 04 Jul 2022 14:11:06 +0000 |
| Subject: | note 127217 added to function.print | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-218893@lists.php.net to get a copy of this message | ||
If you want a useful return value, use printf() instead, i.e.
<?php
if( printf( $my_object->error_string ) ){
# handle error
} else {
# work with object
}
?>
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.157.133 (proxied: 80.60.62.50)
----
Manual Page -- https://php.net/manual/en/function.print.php
Edit -- https://main.php.net/note/edit/127217
Del: integrated -- https://main.php.net/note/delete/127217/integrated
Del: useless -- https://main.php.net/note/delete/127217/useless
Del: bad code -- https://main.php.net/note/delete/127217/bad+code
Del: spam -- https://main.php.net/note/delete/127217/spam
Del: non-english -- https://main.php.net/note/delete/127217/non-english
Del: in docs -- https://main.php.net/note/delete/127217/in+docs
Del: other reasons-- https://main.php.net/note/delete/127217
Reject -- https://main.php.net/note/reject/127217
Search -- https://main.php.net/manage/user-notes.php