PHP Classes

This class just sucks: 1- WTF "const" in php4?? needed to mak...

Recommend this page to a friend!

      PDO for PHP 4  >  All threads  >  This class just sucks: 1- WTF...  >  (Un) Subscribe thread alerts  
Subject:This class just sucks: 1- WTF...
Summary:Package rating comment
Messages:1
Author:malkav
Date:2010-09-22 12:19:18
 

 

malkav rated this package as follows:

Utility: Insufficient
Consistency: Not sure
Examples: Insufficient

  1. This class just sucks: 1- WTF...   Reply   Report abuse  
Picture of malkav malkav - 2010-09-22 12:19:18
This class just sucks:
1- WTF "const" in php4?? needed to make it 'define' and correct it in every file that uses it. If i could use const i would use the native php5 PDO !!
2- execute() : magic quotes or not?? oops, had to correct it myself (again) because it\\\\\\\\\\\'s not cool to read :(
3- in this version, you HAVE to make semicolons the arraykeys whereas in the native version of pdo, you have the choice to put it or not (and then not much key renaming)
4- CONFLICTS in query execution (for example : using variables named ":login" and ":loginErp" will just crash the query ^^) yahoo!

i tested the mysql version only, don't wanna see what's going on for the other db engines, that's enough for me ^^