note 84276 added to language.types.resource
| From: | adrian dot dziubek at gmail dot com | Date: | Mon, 07 Jul 2008 15:55:44 +0000 |
| Subject: | note 84276 added to language.types.resource | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-141241@lists.php.net to get a copy of this message | ||
I spent an hour trying to create mock setup for testing SQL queries. The explanation here, that a
resource contains file handlers and therefore there is no sense in trying to create one is lame.
Being unable to redefine functions, creating a fake resource was the second thing I tried to put
test in place, but looking at the search results, I see I'm the first one to try... For me it
looks like security by obscurity.
----
Server IP: 82.160.94.10
Probable Submitter: 83.14.20.99
----
Manual Page -- http://www.php.net/manual/en/language.types.resource.php
Edit -- https://master.php.net/note/edit/84276
Del: integrated -- https://master.php.net/note/delete/84276/integrated
Del: useless -- https://master.php.net/note/delete/84276/useless
Del: bad code -- https://master.php.net/note/delete/84276/bad+code
Del: spam -- https://master.php.net/note/delete/84276/spam
Del: non-english -- https://master.php.net/note/delete/84276/non-english
Del: in docs -- https://master.php.net/note/delete/84276/in+docs
Del: other reasons-- https://master.php.net/note/delete/84276
Reject -- https://master.php.net/note/reject/84276
Search -- https://master.php.net/manage/user-notes.php