473,387 Members | 3,801 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

E_STRICT notices on PEAR MDB2

Sal
I have error_reporting set at E_ALL | E_STRICT and get 35 Strict
Standards notices every time I load MDB2. Is this something to be
concerned about, and is this typical of other PEAR packages?

Sep 20 '07 #1
2 1771
Hmmm, could try upgrading the modules that are giving errors.

On Sep 20, 6:38 pm, Sal <h...@softcom.netwrote:
I have error_reporting set at E_ALL | E_STRICT and get 35 Strict
Standards notices every time I load MDB2. Is this something to be
concerned about, and is this typical of other PEAR packages?

Sep 21 '07 #2
On Thu, 20 Sep 2007 23:38:59 +0000, Sal wrote:
I have error_reporting set at E_ALL | E_STRICT and get 35 Strict
Standards notices every time I load MDB2. Is this something to be
concerned about, and is this typical of other PEAR packages?
It's because MDB2 retains compatibility with PHP4. Pretty much all the
strict messages are related to using is_a() instead of the PHP5
instanceof operator and calling methods statically that don't have the
PHP5 static keyword. Neither should be a problem in practice.

As for other PEAR packages, that depends on the package. Newer PEAR
packages are PHP5-only, and generally should be E_STRICT compliant (and
if they're not, report it as a bug), but older packages (which includes
pretty much all the popular ones, judging by the stats page) retain PHP4
compatibility and hence will have similar issues with E_STRICT.

Adam

--
To e-mail: don't make an example out of me!
Sep 21 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Michael G | last post by:
Hi, Is PEAR DB worth using? Slower? Other problems? Or should a person just wrap db functions in a user-defined class? Mike
1
by: CSTechie | last post by:
I've been battling to install PEAR on Windows XP now for too long. I am not sure what I need to do. When I run go-pear.php from the command line, I get the error message as shown at the end. I...
0
by: scottauge | last post by:
I cannot for the life of me get a connection using MDB2 to a PostgreSQL 8.1 database. I can get a connection just fine using: $db = pg_connect ("host=localhost port=5432 dbname=subscriber...
3
by: Anthony Smith | last post by:
I always get this message. No matter what package $ pear install Date PHP Warning: Module 'oci8' already loaded in Unknown on line 0 No releases available for package "pear.php.net/Date"...
2
by: salvadorvp | last post by:
Hi, I have the following code that gives me this odd error message at a line of code inside the PEAR libraries: "Fatal error: Call to undefined function: MDB2_Driver_mssql::getMessage(). in...
5
by: john | last post by:
All: Very experienced developer, newbie to PHP. My situation: I have installed on my WIndows XP machine the following: * PHP 5.2.1 * MySQL 5.0 * Apache 2.2 All of these are installed...
5
by: jmark | last post by:
I need some assistance on how to create a select statement using PEAR DB or MySQL with the LIKE function. That is I am looking of how I can get statement like this work. SELECT * FROM customer...
0
by: Sal | last post by:
I have set php.ini error_reporting = E_ALL | E_STRICT and notice that the Pear MDB2 package will generate 35 Strict Standards messages every time I load it. Is this something to be concerned about?...
3
by: Rob Wilkerson | last post by:
Hey all - I'm bumping into an issue with my installation of the MDB2 package that I'm hoping someone else has seen. I'm trying to execute a query, but get an "unknown error" exception that I...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.