We only develop for PHP5 using OOP.
| SitePoint Sponsor |





We only develop for PHP5 using OOP.
- Son Nguyen
AdSpeed.com - Ad Serving and Ad Management Made Easy


This development goes so fast that some libraries / API's have problems picking up.
PHP Extension and Application Repository, PEAR founded by Norwegian Stig. S Bakken has some advantages:
- Large community
- A centralized location for libraries.
- Packages follow set coding standards
- Support available through the web site or a mailing list
- Quality code
- Governed by the PEAR group to guarantee that standards are fulfilled.
- Bugs constantly fixed.
Have noted that there is differences in the SimpleXML functionality that came with PHP 5.0. Some functions are changed from PHP 5.0. to PHP 5.1, for example the
simplexml_load_file() function.
Read more here:
CLI. SimpleXML functions
Kjell Gunnar Bleivik:: Code is Queen, refactoring King.
http://www.digitalpunkt.no | http://www.oopschool.com |
http://www.redcarpetrank.com | http://www.digitalstart.net |
http://www.multifinanceit.com | http://www.kjellbleivik.com |

I have complete control over which servers the code will finally be run on, so I exclusively use Media Temple in a PHP5 environment.
Since I take care of the hosting of my clients' websites myself, I write PHP 5 only, with exception for stand alone scripts for existing websites.
Neanderthal Technology
Exactly; the world will break when we (hosts) move to PHP5.
Not sure if anyone's said this, but it's becoming common practice for hosts to run both these days, and allow them to be switched on a per-directory basis. So you can then run either PHP4 or PHP5 without problem.
Voted "I attempt to make my code compatible with PHP 4 whenever possible.", mainly because most users still uses PHP4.
I however only use PHP5 code for my own projects/websites.


You can do this now in httpd.conf by making php5 scripts use
a filename extension of php5.
What gets me is that hosts are being reluctant to make the
change and it's hindering the developers. I just had an
argument with my current host about it and am searching for
a comparably priced PHP5 host. My account doesn't expire
until May 08 and I won't be renewing with them. I am doing
development on my dev machine in PHP 5 and won't be ready
to deploy until then anyway.
In a way, it reminds me of the Y2K issue without the
consequences.
MrBaseball34
Hook'Em Horns!
Bookmarks