Doc #63332 [NEW]: The problem with __ toString and PDO.

From: Date: Mon, 22 Oct 2012 13:14:34 +0000
Subject: Doc #63332 [NEW]: The problem with __ toString and PDO.
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-8992@lists.php.net to get a copy of this message
From: jacek dot strzemieczny251 at gmail dot com Operating system: Windows XP PHP version: 5.3.18 Package: PDO related Bug Type: Documentation Problem Bug description:The problem with __ toString and PDO. Description: ------------ My problem is __ toString malfunction at the junction of queries PDO. Test script: --------------- http://wklejto.pl/136115 http://wklejto.pl/136116 http://wklejto.pl/136117 Expected result: ---------------- ( ! ) Catchable fatal error: Method szablon::__toString() must return a string value in C:\wamp\www\CMS\skrypty\PHP\IOBazaDanych.php on line 84 Call Stack # Time Memory Function Location 1 0.0005 382344 {main}( ) ..\zakladanie konta.php:0 2 0.0209 451320 bazaDanych->wykonajKwerende( ) ..\zakladanie konta.php:25 -- Edit bug report at https://bugs.php.net/bug.php?id=63332&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63332&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63332&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63332&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63332&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63332&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63332&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63332&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63332&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63332&r=support Expected behavior: https://bugs.php.net/fix.php?id=63332&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63332&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63332&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63332&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63332&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63332&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63332&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63332&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63332&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63332&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63332&r=mysqlcfg

« previous php.doc.bugs (#8992) next »