Professional PHP

PHP Programming, Web Development, PHP Advocacy and PHP Best Practices.

tags php-5

Working with PHP 5 in Mac OS X 10.5 (Leopard)

October 28th, 2007

Mac OS X is a great development platform for working with PHP. Leopard comes with Apache, PHP and many other development tools, such as subversion already installed. Leopard brings a much needed upgrade from Tiger’s tired PHP 4 to a very modern version of PHP 5.2.4. This is a guide for setting [...]

153 Comments | Read the full post »

Improved Error Messages in PHP 5

October 7th, 2007

Sometimes its the little things that make a difference. If you run the this test program in PHP 4 (tested on 4.4.7):
< ?php
function test($arg) { echo "talk like a pirate."; }
test();
?>
You get the following message:
Warning: Missing argument 1 for test() in /usr/bin/- on line 2
The error message here is reported at the position of [...]

17 Comments | Read the full post »

A Glimpse into the Future: PHP 6

November 22nd, 2005

Derick Rethans has posted the notes from the recent PHP 6 meeting in Paris. All I can say is wow! PHP has a bright future. Good job guys.
I’ve also been impressed with the new upgrade notes for 5.1. Good job there, too.
I’ve read over the whole thing and I like what [...]

8 Comments | Read the full post »

Of PHP References and Compatibility

October 20th, 2005

Following up on the Backward compatibilty and web host adoption of PHP 5 post from two weeks ago, I got a pretty good education about the problem with taking a reference of $this. The best summary is in this bug report.
It comes down to the fact that allowing references to be taken of $this [...]

4 Comments | Read the full post »

Zend Core for IBM technical roadmap

March 4th, 2005

IBM has an interesting article up: Zend Core for IBM technical roadmap. I have high hopes for this relationship.
The article talks about web services support, XML support, and database support while briefly mentioning security. I think its safe to say that these are the things that enterprise users are interested in.
While the object [...]

3 Comments | Read the full post »

PHP 5 adoption

January 20th, 2005

Nexen has some statistics about PHP version adoption (via PHP Developer). It shows PHP 5 usage at 1.5%, less than the current usage of php 3 at 1.9%. It seems like people are keeping somewhat up to date in the 4.x line, at least by the 79% adoption rate of 4.3. Sadly, [...]

1 Comment | Read the full post »

ajax api-design benchmarks blogging books ezcomponents firefox google input-filtering java javascript language-comparison late-static-binding Mac maintainability mvc mysql object-oriented-programming oop Open Source pdo pear pear-installer performance-optimization PHP php-5 php-architect php-deployment php-frameworks php-scalability php-security phparch programming-language project-management properties refactoring ruby safari security simplicity test-pattern unit-testing Usability wordpress zend-framework
  • Search

  • Subscribe

    Subscribe All Posts
    Subscribe All Comments
    Subscribe All Bookmarks
    Subscribe with Bloglines Subscribe with My Yahoo Add to netvibes Subscribe in NewsGator Online Add to Google
  • Categories (Home)

    • Agile Methods (14)
    • Mac (14)
    • Misc (16)
    • Open Source (14)
    • PHP (95)
    • Software Design (28)
    • Usability (14)
    • WACT (7)
    • Web Design (20)
  • Recent Comments

    • Why is PHP Code Considered Hard to Maintain?  26
      moyaufarus, bez-riska.ru, Visitor338 [...]
    • Working with PHP 5 in Mac OS X 10.5 (Leopard)  107
      name, name, Massimo [...]
    • Google Hosting  14
      Managed Hosting, nicholas, Onur Cobanli [...]
    • PHP Development From Java Architects Eye  14
      anal, deniskomarov, erotic [...]
    • Sarah Snow Stever  26
      Massimo, arabcrunch, Dubai Web Design, Development [...]
    • The PHP scalability saga continues  17
      vaginal, uceqlehwigi, panties [...]
    • Keywords and Language Simplicity  9
      Programmer, cfbow, olmse [...]
    • PHP 5.1 is out  8
      Preteen, Soma, teedattaltY [...]
    • goto in PHP  39
      jistanidiot, Goldilocks, [...]
    • WordPress BBCode Plugin  24
      ?????? ??, ?????? ??, smolenskiy [...]
    • Why is PHP Popular?  24
      art.ru, agened.ru, visasim.ru [...]
  • Pages

    • Tags
  • Archives

    • 2008: May
    • 2007: Jan Feb Mar Apr May Sep Oct Nov
    • 2006: Jan Feb Mar Apr May Jun Jul Oct Nov Dec
    • 2005: Jan Feb Mar Apr May Sep Oct Nov Dec
    • 2004: Apr May Jun Jul Aug Sep Oct Nov
  • Menu

    • Register
    • Log in