News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

David Parra's Blog:
Calling Conventions '" when you need to know C to understand PHP
July 07, 2009 @ 12:03:24

David Parra has a suggestion for PHP developers out there - it might be beneficial to learn some C so you know what's going on.

I think most of the people using PHP wonder from time to time about particular behavior of the language. [...] But lately I stumbled over a nice one. It looked like a bug in PHP, but turns out to be an interesting, curious, part of the C-language.

He gives an example of a case where an error message (as a result of E_ALL error reporting) shows evaluation of certain variables in a different order than anticipated. As it turns out, the difference was in the order of the parameters in the C code of PHP (different on SPARC versus x86 systems).

1 comment voice your opinion now!
bug understand language c


blog comments powered by Disqus

Similar Posts

Nessa's Blog: Which Programming Language is For You?

Etsy Code as Craft: Rasmus Lerdorf - PHP in 2012

Anthony Ferrara's Blog: PHP's Source Code For PHP Developers - Part 1 - The Structure

Bryan's Blog: 5 (More) Ways to be a Better PHP Developer

Rich Zygler's Blog: Is Microsoft buying Facebook a good thing for PHP?


Community Events

Don't see your event here?
Let us know!


laravel5 framework interview series opinion library podcast version extension threedevsandamaybe symfony release voicesoftheelephpant laravel introduction language community unittest security api

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework