note 115288 added to function.gettype
| From: | wojciech dot fornal at gmail dot com | Date: | Sat, 28 Jun 2014 23:55:41 +0000 |
| Subject: | note 115288 added to function.gettype | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-199779@lists.php.net to get a copy of this message | ||
@langpavel at phpskelet dot org
Doesn't the gettype return the string already? Using get_class seems to be the only
"useful" part of that solution. All that can be reduced to somewhere half in terms of the
amount of code.
----
Server IP: 46.17.113.2
Probable Submitter: 83.26.119.38
----
Manual Page -- http://php.net/manual/en/function.gettype.php
Edit -- https://master.php.net/note/edit/115288
Del: integrated -- https://master.php.net/note/delete/115288/integrated
Del: useless -- https://master.php.net/note/delete/115288/useless
Del: bad code -- https://master.php.net/note/delete/115288/bad+code
Del: spam -- https://master.php.net/note/delete/115288/spam
Del: non-english -- https://master.php.net/note/delete/115288/non-english
Del: in docs -- https://master.php.net/note/delete/115288/in+docs
Del: other reasons-- https://master.php.net/note/delete/115288
Reject -- https://master.php.net/note/reject/115288
Search -- https://master.php.net/manage/user-notes.php