Shared publicly  - 
 
We are in the final push to PHP 5.4 and we need your help. Everyone who is using PHP can give us a hand here, regardless of your technical abilities. Facebook employees, take a break from calculating your stock option scenarios and give us an hour of your time. Yahoo and Zynga engineers, take an hour or two on Monday as well. If your managers complain, just blame me.

Some starting points to choose between:

1) Grab the latest code and run the tests:
svn co https://svn.php.net/repository/php/php-src/branches/PHP_5_4 PHP_5_4
cd PHP_5_4
./buildconf
./configure <add your typical options here>
make
make test

Then, track down one of the failed tests, assuming you had any, and try to figure out why it failed in your environment. Just cd into the directory of the failed test and you will see .out, .diff, .exp and .php files for that test. They should be self-explanatory. If you figure it out, you can open a bug at bugs.php.net with the explanation.

2) Go to https://bugs.php.net and click on one of the shortcut search links you see there. Like the "Most recent open bugs" search. Go in a couple of pages to randomize things a bit and pick one in an area that you know a little bit about. Just a simple, "Yes, I was able to reproduce this problem in my environment" comment is helpful. Or, for many bug reports the reporter misunderstood something, a comment explaining why it isn't a bug helps a lot as well. For documentation bugs, see 3)

3) If in your normal use of the PHP documentation you run across something that isn't quite right and could be better, and/or if you see some really useful user comments that you think should be folded into the documentation, look for an [edit] link near the top-right corner of the page. That takes you to our super-fancy browser-based docbook editor where you can log in anonymously and edit a page and submit the changes to us.
133
143
Praveen Kumar's profile photoKirill Gordeenko's profile photoSumit Rjapara's profile photoFilipe Marques's profile photo
32 comments
 
Only 10 fails when Build and test on my Mac! (no configure options that is)
 
After the scrollback buffer clears, how can I get a list of failed tests?
PHP
 
+Adam Backstrom it should have saved it to a file. Look for a file named php_test_results_* in the directory you ran make test from.
 
Ah, I see. I mailed the test results, which deleted the results file. (I think.)
 
+PHP roger that, will do first thing tomorrow and report back.
 
sadly for me I could not even build the repo.. using cygwin
$ ./buildconf
./buildconf: line 3: $'\r': command not found
./buildconf: line 5: syntax error near unexpected token `$'in\r''
'/buildconf: line 5: `case "$PHP_EXTRA_VERSION" in
 
Cygwin!? You must be kidding. It was never officially supported afaik.
 
I'm seeing 11 failed tests on Ubuntu 10.04.1 @ Amazon EC2. I've mailed the results.
 
Took a while on my little 2.1GHz box but on Ubuntu 11.10 8 fails (sent).
 
on my Ubuntu 11.10


=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 51
Exts tested : 26
---------------------------------------------------------------------

Number of tests : 12007 8139
Tests skipped : 3868 ( 32.2%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 8 ( 0.1%) ( 0.1%)
Expected fail : 35 ( 0.3%) ( 0.4%)
Tests passed : 8096 ( 67.4%) ( 99.5%)
---------------------------------------------------------------------
Time taken : 331 seconds
=====================================================================

=====================================================================
EXPECTED FAILED TEST SUMMARY
---------------------------------------------------------------------
Test open_basedir configuration [tests/security/open_basedir_linkinfo.phpt] XFAIL REASON: BUG: open_basedir cannot delete symlink to prohibited file. See also
bugs 48111 and 52176.
Inconsistencies when accessing protected members [Zend/tests/access_modifiers_008.phpt] XFAIL REASON: Discussion: http://marc.info/?l=php-internals&m=120221184420957&w=2
Inconsistencies when accessing protected members - 2 [Zend/tests/access_modifiers_009.phpt] XFAIL REASON: Discussion: http://marc.info/?l=php-internals&m=120221184420957&w=2
Bug #48770 (call_user_func_array() fails to call parent from inheriting class) [Zend/tests/bug48770.phpt] XFAIL REASON: See Bug #48770
Bug #48770 (call_user_func_array() fails to call parent from inheriting class) [Zend/tests/bug48770_2.phpt] XFAIL REASON: See Bug #48770
Bug #48770 (call_user_func_array() fails to call parent from inheriting class) [Zend/tests/bug48770_3.phpt] XFAIL REASON: See Bug #48770
Initial value of static var in method depends on the include time of the class definition [Zend/tests/method_static_var.phpt] XFAIL REASON: Maybe not a bug
DateTime::add() -- fall type2 type3 [ext/date/tests/DateTime_add-fall-type2-type3.phpt] XFAIL REASON: Various bugs exist
DateTime::add() -- fall type3 type2 [ext/date/tests/DateTime_add-fall-type3-type2.phpt] XFAIL REASON: Various bugs exist
DateTime::add() -- fall type3 type3 [ext/date/tests/DateTime_add-fall-type3-type3.phpt] XFAIL REASON: Various bugs exist
DateTime::add() -- spring type2 type3 [ext/date/tests/DateTime_add-spring-type2-type3.phpt] XFAIL REASON: Various bugs exist
DateTime::add() -- spring type3 type2 [ext/date/tests/DateTime_add-spring-type3-type2.phpt] XFAIL REASON: Various bugs exist
DateTime::add() -- spring type3 type3 [ext/date/tests/DateTime_add-spring-type3-type3.phpt] XFAIL REASON: Various bugs exist
DateTime::diff() -- fall type2 type3 [ext/date/tests/DateTime_diff-fall-type2-type3.phpt] XFAIL REASON: Various bugs exist
DateTime::diff() -- fall type3 type2 [ext/date/tests/DateTime_diff-fall-type3-type2.phpt] XFAIL REASON: Various bugs exist
DateTime::diff() -- fall type3 type3 [ext/date/tests/DateTime_diff-fall-type3-type3.phpt] XFAIL REASON: Various bugs exist
DateTime::diff() -- spring type2 type3 [ext/date/tests/DateTime_diff-spring-type2-type3.phpt] XFAIL REASON: Various bugs exist
DateTime::diff() -- spring type3 type2 [ext/date/tests/DateTime_diff-spring-type3-type2.phpt] XFAIL REASON: Various bugs exist
DateTime::diff() -- spring type3 type3 [ext/date/tests/DateTime_diff-spring-type3-type3.phpt] XFAIL REASON: Various bugs exist
DateTime::sub() -- fall type2 type3 [ext/date/tests/DateTime_sub-fall-type2-type3.phpt] XFAIL REASON: Various bugs exist
DateTime::sub() -- fall type3 type2 [ext/date/tests/DateTime_sub-fall-type3-type2.phpt] XFAIL REASON: Various bugs exist
DateTime::sub() -- fall type3 type3 [ext/date/tests/DateTime_sub-fall-type3-type3.phpt] XFAIL REASON: Various bugs exist
DateTime::sub() -- spring type2 type3 [ext/date/tests/DateTime_sub-spring-type2-type3.phpt] XFAIL REASON: Various bugs exist
DateTime::sub() -- spring type3 type2 [ext/date/tests/DateTime_sub-spring-type3-type2.phpt] XFAIL REASON: Various bugs exist
DateTime::sub() -- spring type3 type3 [ext/date/tests/DateTime_sub-spring-type3-type3.phpt] XFAIL REASON: Various bugs exist
Bug #53437 (Crash when using unserialized DatePeriod instance) [ext/date/tests/bug53437.phpt] XFAIL REASON: Bug #53437 Not fixed yet
RFC: DateTime and Daylight Saving Time Transitions (zone type 3) [ext/date/tests/rfc-datetime_and_daylight_saving_time-type3.phpt] XFAIL REASON: RFC not implemented yet
Bug #42718 (unsafe_raw filter not applied when configured as default filter) [ext/filter/tests/bug42718.phpt] XFAIL REASON: FILTER_UNSAFE_RAW not applied when configured as default filter, even with flags
Bug #60634 (Segmentation fault when trying to die() in SessionHandler::write()) [ext/session/tests/bug60634.phpt] XFAIL REASON: Long term low priority bug, working on it
Bug #60634 (Segmentation fault when trying to die() in SessionHandler::write()) - fatal error in write during exec [ext/session/tests/bug60634_error_1.phpt] XFAIL REASON: Long term low priority bug, working on it
Bug #60634 (Segmentation fault when trying to die() in SessionHandler::write()) - exception in write during exec [ext/session/tests/bug60634_error_2.phpt] XFAIL REASON: Long term low priority bug, working on it
Bug #60634 (Segmentation fault when trying to die() in SessionHandler::write()) - fatal error in write after exec [ext/session/tests/bug60634_error_3.phpt] XFAIL REASON: Long term low priority bug, working on it
Bug #60634 (Segmentation fault when trying to die() in SessionHandler::write()) - exception in write after exec [ext/session/tests/bug60634_error_4.phpt] XFAIL REASON: Long term low priority bug, working on it
Bug #60634 (Segmentation fault when trying to die() in SessionHandler::write()) - fatal error in close during exec [ext/session/tests/bug60634_error_5.phpt] XFAIL REASON: Long term low priority bug, working on it
Bug #45712 (NaN/INF comparison) [ext/standard/tests/math/bug45712.phpt] XFAIL REASON: Bug 45712 not fixed yet.
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
version string [sapi/cli/tests/001.phpt]
strip comments and whitespace with -w [sapi/cli/tests/007.phpt]
execute a file with -f [sapi/cli/tests/008.phpt]
using invalid combinations of cmdline options [sapi/cli/tests/009.phpt]
syntax check [sapi/cli/tests/011.phpt]
invalid arguments and error messages [sapi/cli/tests/012.phpt]
syntax highlighting [sapi/cli/tests/014.phpt]
CLI long options [sapi/cli/tests/015.phpt]
=====================================================================
 
I have 2 failed tests on ubuntu 11.10

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #48555 (ImageFTBBox() differs from previous versions for texts with new lines) [ext/gd/tests/bug48555.phpt]
checks zlib compression size is always the same no matter how many times its run [ext/zlib/tests/bug60761.phpt]
=====================================================================
 
PHP 5.4.0 RC6 on Ubuntu 10.10

===================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 51
Exts tested : 26
---------------------------------------------------------------------

Number of tests : 12002 8123
Tests skipped : 3879 ( 32.3%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 0 ( 0.0%) ( 0.0%)
Expected fail : 36 ( 0.3%) ( 0.4%)
Tests passed : 8087 ( 67.4%) ( 99.6%)
---------------------------------------------------------------------
Time taken : 230 seconds
===================================
 
Compiling and installing
Steps:
1) wget http://co.php.net/get/php-5.4.0.tar.bz2/from/www.php.net/mirror
2) tar jvxf php-5.4.0.tar.bz
3) cd php-5.4.0
4) './configure' '--bindir=/usr/bin' '--build=x86_64-redhat-linux-gnu' '--cache-file=../config.cache' '--datadir=/usr/share' '--disable-rpath' '--enable-bcmath' '--enable-calendar' '--enable-dba=shared' '--enable-dom' '--enable-exif' '--enable-ftp' '--enable-gd-jis-conv' '--enable-gd-native-ttf' '--enable-intl' '--enable-maintainer-zts' '--enable-mbregex' '--enable-mbstring' '--enable-pcntl' '--enable-pdo' '--enable-shmop' '--enable-soap' '--enable-soap=shared' '--enable-sockets' '--enable-static' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-wddx' '--enable-zip' '--exec-prefix=/usr' '--host=x86_64-redhat-linux-gnu' '--includedir=/usr/include' '--infodir=/usr/share/info' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--mandir=/usr/share/man' '--prefix=/usr' '--program-prefix=' '--sbindir=/usr/sbin' '--sharedstatedir=/usr/com' '--sysconfdir=/etc' '--target=x86_64-redhat-linux-gnu' '--with-apxs2=/usr/sbin/apxs' '--with-bz2' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--with-curl' '--with-db4=/usr' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-layout=GNU' '--with-ldap' '--with-ldap-sasl' '--with-libdir=lib64' '--with-libmbfl' '--with-libxml-dir=/usr' '--with-mcrypt' '--with-mhash' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--enable-mysqlnd' '--with-onig' '--with-openssl' '--with-pcre-regex=/usr' '--with-pdo-mysql=mysqlnd' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-pgsql' '--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared,/usr' '--with-pgsql' '--with-pic' '--with-png-dir=/usr' '--with-pspell' '--with-recode' '--with-snmp' '--with-unixODBC=shared,/usr' '--with-t1lib' '--with-tidy' '--with-xmlrpc' '--with-xsl' '--with-xsl=shared,/usr' '--with-zlib' '--without-gdbm'
5) make
6) make install
7) service httpd restart
8) https://cali.latinoaustralia.com/phpinfo.php
9) make test
10) send the results
 
+PHP I test PHP 5.4 and it is crashing when apache is work with workers, without threads it work fine.


[pid 27711] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
[pid 27716] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 27716 detached
[pid 27711] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 27711 detached
[pid 27770] +++ killed by SIGSEGV +++
[pid 27767] +++ killed by SIGSEGV +++
[pid 27765] +++ killed by SIGSEGV +++
[pid 27763] +++ killed by SIGSEGV +++
[pid 27761] +++ killed by SIGSEGV +++
[pid 27759] +++ killed by SIGSEGV +++
[pid 27758] +++ killed by SIGSEGV +++
[pid 27757] +++ killed by SIGSEGV +++
[pid 27756] +++ killed by SIGSEGV +++
[pid 27755] +++ killed by SIGSEGV +++
[pid 27754] +++ killed by SIGSEGV +++
[pid 27752] +++ killed by SIGSEGV +++
[pid 27750] +++ killed by SIGSEGV +++
[pid 27748] +++ killed by SIGSEGV +++
[pid 27746] +++ killed by SIGSEGV +++
[pid 27745] +++ killed by SIGSEGV +++
[pid 27744] +++ killed by SIGSEGV +++
[pid 27743] +++ killed by SIGSEGV +++
[pid 27742] +++ killed by SIGSEGV +++
[pid 27741] +++ killed by SIGSEGV +++
[pid 27740] +++ killed by SIGSEGV +++
[pid 27739] +++ killed by SIGSEGV +++
[pid 27738] +++ killed by SIGSEGV +++
[pid 27736] +++ killed by SIGSEGV +++
[pid 27735] +++ killed by SIGSEGV +++
[pid 27734] +++ killed by SIGSEGV +++
[pid 27733] +++ killed by SIGSEGV +++
[pid 27732] +++ killed by SIGSEGV +++
[pid 27731] +++ killed by SIGSEGV +++
[pid 27730] +++ killed by SIGSEGV +++
[pid 27729] +++ killed by SIGSEGV +++
[pid 27728] +++ killed by SIGSEGV +++
[pid 27727] +++ killed by SIGSEGV +++
[pid 27726] +++ killed by SIGSEGV +++
[pid 27725] +++ killed by SIGSEGV +++
[pid 27724] +++ killed by SIGSEGV +++
[pid 27723] +++ killed by SIGSEGV +++
[pid 27722] +++ killed by SIGSEGV +++
[pid 27721] +++ killed by SIGSEGV +++
[pid 27720] +++ killed by SIGSEGV +++
[pid 27719] +++ killed by SIGSEGV +++
[pid 27769] +++ killed by SIGSEGV +++
[pid 27768] +++ killed by SIGSEGV +++
[pid 27718] +++ killed by SIGSEGV +++
[pid 27766] +++ killed by SIGSEGV +++
[pid 27717] +++ killed by SIGSEGV +++
[pid 27764] +++ killed by SIGSEGV +++
[pid 27715] +++ killed by SIGSEGV +++
[pid 27714] +++ killed by SIGSEGV +++
[pid 27713] +++ killed by SIGSEGV +++
[pid 27712] +++ killed by SIGSEGV +++
[pid 27762] +++ killed by SIGSEGV +++
[pid 27710] +++ killed by SIGSEGV +++
[pid 27760] +++ killed by SIGSEGV +++
[pid 27709] +++ killed by SIGSEGV +++
[pid 27753] +++ killed by SIGSEGV +++
[pid 27708] +++ killed by SIGSEGV +++
[pid 27707] +++ killed by SIGSEGV +++
[pid 27751] +++ killed by SIGSEGV +++
[pid 27749] +++ killed by SIGSEGV +++
[pid 27706] +++ killed by SIGSEGV +++
[pid 27747] +++ killed by SIGSEGV +++
[pid 27737] +++ killed by SIGSEGV +++
[pid 27702] +++ killed by SIGSEGV +++
--- SIGCHLD (Child exited) @ 0 (0) ---
 
I don't have net when I want, so there is any possibility to copy all the source code of php to github ? Just because of Subversion.
 

Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(./utils/config.php) is not within the allowed path(s): (E:\Reseller3\Websitesplusadz.com\httpdocs\) in E:\Reseller3\Websites\\httpdocs\index.php on line 4

Warning: require_once(./utils/config.php) [function.require-once]: failed to open stream: Operation not permitted in E:\Reseller3\Websites\\httpdocs\index.php on line 4

Fatal error: require_once() [function.require]: Failed opening required './utils/config.php' (include_path='.;C:\Program Files\Parallels\Plesk\Additional\PleskPHP5\pear;./includes;./pear') in E:\Reseller3\Websites\httpdocs\index.php on line 4                       


it is error how to solve this
 
We needed nice coder on Drupal + php + css + html and etc. (note noob, master only)) Working in Russia from Moscow/ 
2000 $ net per month
My Skype: gramshin
 
Just started a new php project :) It's a social publishing platform right now we need 10,000 subscribers so we can go online. Check it out if you like to: www.uloga.com 
 
+John Gramshin : are you people interested in outsourcing?  We do provide experts in PHP, Drupal, Wordpress, etc..Let me know if ur interested..
 
What happened to this page why no more recent updates ?
 
Something we discovered in Sydney running BBS Systems before the net advent was here, if we didn't seed of another BBS we would going in circles in our System Physicality Abstraction Layers.. The important thing is to seed from a remote system and easy way at the Centroidal Plexus of the web (Chronolabs Cooperative) we offer a seed feed and the following code will randomise you out of the number cycle:

See in #PHP both the letters and numbers are seedable as letters are treated as numbers as well. You can always use individual tokens by extracting the Element with DOM.. But below is equally effective!

<?php

mt_srand(file_get_contents('http://seed.feeds.labs.coop'));

?>

OR for Rand()

<?php

srand(file_get_contents('http://seed.feeds.labs.coop'));

?>
Translate
Add a comment...