News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

Matthew Turland's Blog:
Interesting Bug in the HTTP Streams Wrapper
0 comments :: posted Monday April 14, 2008 @ 08:49:04
voice your opinion now!

Matthew Turland has come across an "interesting bug" in PHP's stream wrappers functionality - some strange 404 or 500 HTTP errors in one of his scripts.

I wrote a small script a while back that's gained a surprising amount of popularity thanks to a plug from the site that it posts to. [...] I learned that this [connection from the script] could be done with streams, I attempted to implement it in that fashion, but ran into strange issues where I would get 404 or 500-level HTTP errors rather than the response I was expected.

He eventually found the bug related to his problem (in the 5.2.x branch) but happily notes that it has been corrected and will be patched in the upcoming 5.3 (and 6) branches.

tagged with: bug streams wrapper issue 404 500 connection header contenttype


PEAR Blog:
First PEAR bug triage over!
0 comments :: posted Thursday April 03, 2008 @ 10:26:34
voice your opinion now!

According to this post on the PEAR blog, the first PEAR bug triage is now over:

PEAR's bug tracker hit the 600+ open bugs mark a month ago. [...] So with 600+ open bugs (not including the feature requests), we had to do something. [...] The logical step was to hold our own bug smashing event and see how it works for PEAR.

Back on March 22nd and 23rd (Easter weekend) they hunted for bugs. Several developers showed to help out and many bugs were fixed and they managed to bring the number of open bugs for PEAR down to 547 with the two days of work. There were some milestones reached too:

Thanks to the triage, we are close to reaching two important milestones: Closing bug reports with lower bug ID than 1000 (1 bug left!) and 2000 (5 left).
tagged with: pear bug triage close problem issue feature event

Matthew Turland's Blog:
Watch Your Include Path
0 comments :: posted Thursday March 27, 2008 @ 10:24:38
voice your opinion now!

Matthew Turland is looking to "save you some grief" by pointing out an issue he recently had trouble with and eventually found out was a bug in PHP.

It's pretty rare that I encounter a bug in the software I run that hampers my ability to work or my server environment's ability to function normally. However, I encountered one last week that has taken me and several Rackspace support technicians nearly a week to figure out, namely PHP bug #43677.

The issue was that PHP seemed to be "forgetting" the include_path in the current script (not Apache). The bug has been found in PHP 5.2.5 (and possible in all of the 5.2.x releases as well). The problem has been fixed in the latest CVS version and a patch has been created for those that want to correct the problem right away.

tagged with: include path apache bug setincludepath patch fix

Johannes Schluter's Blog:
Easter - Don't just look for eggs but also for bugs
0 comments :: posted Friday March 21, 2008 @ 11:29:41
voice your opinion now!

Johannes Schluter recommends that, this Easter, you not only enjoy the holiday and hunt some eggs but also do a little bug hunting at the same time:

Around Easter there are different holidays, in Germany for instance Friday and Monday are holidays. This gives you some time without annoying customers and colleagues asking you to do stuff. So what could you PHP geeks do when getting bored? - A good idea is to test PHP development snapshots.

The PHP group has put out the second release candidate for PHP 5.2.6 and is looking for a few good testers to help them find whatever issues may lie deep in its code. Accoring to Johannes, though, not much should be broken this time. It's PHP 5.3 everyone should really watch out for...

So grab a snapshot and get testing!

tagged with: egg hunt bug snapshot php5 easter releasecandidate

Eirik Hoem's Blog:
Array problems with SOAP and PHP - Updated
0 comments :: posted Thursday March 13, 2008 @ 10:22:19
voice your opinion now!

Eirik Hoem has posted an update on a previous problem he was having when working with SOAP in PHP and its handling of arrays.

The scenario was that when an array with only one object was returned over SOAP the array was discarded and pointed straight to the single object.

Come to find out, this behavior wasn't a bug, it was a feature - the fix is to add another parameter to the initialization of the SoapClient to add the SOAP_SINGLE_ELEMENT_ARRAYS feature.

tagged with: soap gotcha array problem soapsingleelementarrays feature bug

Wolfgang Drews' Blog:
More on PHP Logos
0 comments :: posted Tuesday February 26, 2008 @ 08:17:00
voice your opinion now!

Following up on Philip Olson's post about the evolution of PHP logos, Wolfgang Drews (of DynamicWebPages.de) has posted a few other examples.

Philip Olson has posted some kind of history of php-logos, so here are my two cents.

Included in his post are things like a 3D rendered example of a PHP booth, a few random ones he found that he had created for his site and the infamous PHP cake from the ten year birthday of the language.

tagged with: logo history example bug birthday cake booth

PHPEverywhere:
Octalpussy
0 comments :: posted Monday February 04, 2008 @ 10:25:00
voice your opinion now!

In an earlier post John Lim pointed out an interesting issue with how certain numbers are handled in PHP - ones starting with a zero:

That's because any number preceded by 0 is treated as an octal number, and 9 is an invalid octal number. [...] The silly thing is that hardly anyone uses octal nowadays, but it continues to be part of the C, C++, Java and PHP standards. The mistake is also very common.

There's not much way around it, he notes - the format's been in use for a long time now and is so ingrained in just about every C-based language out there that it's "too deeply imprinted in modern compiler DNA" to take out.

tagged with: octal number bug base8 adodb

John Mertic's Blog:
PHP 5.2.5 Windows Installer now working
0 comments :: posted Friday November 16, 2007 @ 10:23:00
voice your opinion now!

John Mertic quickly notes that the Windows installer for the latest PHP release (5.2.5) is now working correctly:

Thanks to a missed CVS commit, Bug # 43230 came up b0rking the installer last week. I rebuilt it and updated it at http://www.php.net/downloads.php (with big thanks to Derick Rethans for the karma and help finding my way to get it updated).

You can download both these new Windows packages and the current source code builds from the PHP.net downloads section.

tagged with: php5 windows installer bug download php5 windows installer bug download


package book PHP5 pecl application developer cakephp zend conference framework zendframework releases ajax code PEAR mysql security release database job

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