Discussion:
Pear + Debuger Problem
(too old to reply)
Mikhail Tchervonenko
2007-09-21 14:33:36 UTC
Permalink
Hi Support!

PHP Version 5.2.3 Script + Pear DB (xampp ver. 1.6.3a)

In Debug Mode (Zend debugger plugin für Eclipse ver.
org.zend.php.debug.debugger_5.2.10.v20070905) Errors:



Error N1

Debug Strict (PHP 5): C:/Programme/xampp/php/PEAR/DB.php line 470 -
Assigning the return value of new by reference is deprecated

In code : @$obj =& new $classname;

……. Errors

Error Nn

Debug Strict (PHP 5): C:/Programme/xampp/php/PEAR/DB.php line 1202 -
Assigning the return value of new by reference is deprecated

In code : $arr = &new $object_class($arr);

……. Errors

Error N1 in mein Script:

Debug Strict (PHP 5): php_upload/db/db_con.html line 5 - Non-static method
DB::connect() should not be called statically

In code : $db = DB::connect("mysql://root:@localhost/caja_base",
array('debug' => 1, 'optimize' => 'portability'));



L ?





Mit freundlichen Grüßen

Dipl.Ing. Mikhail Tchervonenko

Leiter der Softwareentwicklung



Priom GmbH & Co. KG

Parkstraße 141

59227 Ahlen

Telefon: +49 (0) 2382 - 855968

Fax: +49 (0) 2561 - 959333968

Email: HYPERLINK "mailto:***@priom.de"***@priom.de

Geschäftsführerin: Maike Lehmann

Registergericht Münster

HRA 1975 HRB 7954




No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.487 / Virus Database: 269.13.27/1020 - Release Date: 20.09.2007
12:07
Christian Weiske
2007-09-21 14:49:24 UTC
Permalink
Mikhail,
Post by Mikhail Tchervonenko
Debug Strict (PHP 5): C:/Programme/xampp/php/PEAR/DB.php line 470 -
Assigning the return value of new by reference is deprecated
PEAR DB is a deprecated PHP4 package. To fix the E_STRICT warnings, you'd need to port it completely to PHP5 which won't happen.
--
Christian Weiske <***@cweiske.de>
Loading...