Search Discussions

150 discussions - 819 posts

  • thekid@friebes:~/devel/php/tests cat inheritance.php <?php class Foo { function __construct($foo) { } } class Bar extends Foo { function __construct($foo, $bar) { // Add = NULL after $bar to make it ...
    Timm FriebeTimm Friebe
    Feb 25, 2004 at 10:41 pm
    Feb 28, 2004 at 1:06 am
  • And my point is that I may want to create an exception (sterling's 'InternalException', for example), that I do not want you catching unless you specifically check for it. Moving this discussion to ...
    George SchlossnagleGeorge Schlossnagle
    Feb 13, 2004 at 4:41 pm
    Feb 17, 2004 at 7:22 pm
  • Andi GutmansAndi Gutmans
    Feb 11, 2004 at 12:05 pm
    Feb 13, 2004 at 2:17 pm
  • http://bugs.php.net/bug.php?id=27304 Marcus says he's brought this up before, and i think it really needs to be addressed before PHP 5 so I'm bringing it up again. I am told that currently we are ...
    John CoggeshallJohn Coggeshall
    Feb 18, 2004 at 7:53 am
    Feb 23, 2004 at 10:12 pm
  • 36


    Hey, As you must have realized Andi and I have resolved some of the key remaining issues for PHP 5 (and we still are). Due to fact that some of these changes have been pretty big changes we suggest ...
    Zeev SuraskiZeev Suraski
    Feb 4, 2004 at 6:21 pm
    Feb 28, 2004 at 4:09 pm
  • We've changed the way that objects are destroyed during shutdown to a 2-phase mechanism. First, destructors are called for all of the objects in the store (in no particular order). Afterwards - the ...
    Andi GutmansAndi Gutmans
    Feb 4, 2004 at 10:16 am
    Feb 10, 2004 at 3:35 pm
  • Hi, We rewrote the exception support. It fixes a few limitations and bugs in the old implementation, and allows exceptions to 'fire' much earlier than before. Generally, with the new mechanism, ...
    Andi GutmansAndi Gutmans
    Feb 3, 2004 at 1:04 pm
    Feb 11, 2004 at 10:39 pm
  • Hi, after discussion with Brian Aker about problems with number precision in financial applications and thinking about the impact of "Enterprise" I'm wondering that bcmath is not enabled by default. ...
    Georg RichterGeorg Richter
    Feb 1, 2004 at 6:47 am
    Feb 10, 2004 at 8:02 pm
  • Does anybody has a clue *why* this gives a floating point error btw? regards, Derick
    Derick RethansDerick Rethans
    Feb 22, 2004 at 8:49 pm
    Feb 22, 2004 at 11:31 pm
  • Please can some explain to me what the stdClass is used for in PHP 5. I've tried to use the reflection API to reverse engineer it but it does not give you much on the stdClass What methods can be ...
    Feb 27, 2004 at 1:16 pm
    Feb 27, 2004 at 5:40 pm
  • This is either bug in zend_fetch_list_dtor_id() as said in the bug report or misuse of [zend_]register_list_destructors(). So which one is it? Is zend_register_list_destructors() deprecated in favor ...
    Jani TaskinenJani Taskinen
    Feb 10, 2004 at 11:45 pm
    Feb 18, 2004 at 7:32 pm
  • I have a need in a current application to extend interfaces and possibly re-define (change signature) some of the inherited methods in the child interface. e.g. interface Foo { public function ...
    Hans LellelidHans Lellelid
    Feb 16, 2004 at 5:55 am
    Feb 17, 2004 at 9:49 pm
  • At the risk of making a complete fool of myself, I'd like to ask the smarter brains than me to checkout the current logic in the implementation of Iterator classes and foreach(). The current logic of ...
    Philip FletcherPhilip Fletcher
    Feb 26, 2004 at 4:02 pm
    Mar 8, 2004 at 9:28 am
  • It appears that cloning is broken, since a modification to the clone modifies the original. For my __clone method implementation, I allow all of the variables to be set by default except for one. But ...
    Herr WittenHerr Witten
    Feb 15, 2004 at 10:45 pm
    Feb 22, 2004 at 3:31 pm
  • What does nph stand for? Can you think of a more verbose name? Andi
    Andi GutmansAndi Gutmans
    Feb 10, 2004 at 8:16 pm
    Feb 11, 2004 at 4:29 am
  • Hi, Today I've finished writing the 'Migrating from PHP 4 to PHP 5' appendice. I would like you to review it to check if something is missing or incorrect. As the on-line version is outdated, use ...
    Nuno LopesNuno Lopes
    Feb 23, 2004 at 5:20 pm
    Feb 24, 2004 at 9:45 am
  • Hi: As you probably know, run-tests.php runs recursively through each subdirectory encountered. I've run into circumstances where it is helpful to have it just run files in the present directory, ...
    Daniel ConvissorDaniel Convissor
    Feb 19, 2004 at 9:50 pm
    Feb 20, 2004 at 6:38 pm
  • Jonathan, Thanks for the reply. Actually, my question was not a "how to use", but definitely a "what are you doing?" intended for the PHP authors (i.e. the Zend folks). Logging is a great example of ...
    Dave PeckhamDave Peckham
    Feb 16, 2004 at 5:56 pm
    Feb 17, 2004 at 3:49 pm
  • I know we discussed this already, but after seeing a couple of bug reports about SimpleXML, I'm worried our decision only makes sense to us and not to regular users. :) Specifically, since elements ...
    Adam Maccabee TrachtenbergAdam Maccabee Trachtenberg
    Feb 27, 2004 at 6:37 pm
    Feb 29, 2004 at 5:46 pm
  • Since you can no longer assign to $this in PHP5, how would one call a method defined in a particular ancestor class that has been overridden by the current class or a more recent ancestor? In PHP4 ...
    Brad FisherBrad Fisher
    Feb 17, 2004 at 8:01 pm
    Feb 18, 2004 at 10:50 pm
  • Hi, I was just wondering. An assignment to $this is not longer possible in PHP 5. This was agreed upon and everything is fine with that. However, when trying to assign to $this in PHP 5, this ...
    Jan LehnardtJan Lehnardt
    Feb 4, 2004 at 1:17 pm
    Feb 4, 2004 at 4:21 pm
  • Currently, ext/sqlite/tests/sqlite_oo_031.phpt crashes after completion of the script. If I unset($menu_iterator) first, the crash disappears. -- Ard
    Ard BiesheuvelArd Biesheuvel
    Feb 24, 2004 at 1:41 pm
    Feb 25, 2004 at 10:39 am
  • 1 <?php 2 interface PHPUnit_Framework_Test { 3 public function countTestCases(); 4 public function run(PHPUnit_Framework_TestResult $result); 5 } 6 ? results in Fatal error: Invalid binding type in ...
    Sebastian BergmannSebastian Bergmann
    Feb 4, 2004 at 4:55 pm
    Feb 4, 2004 at 6:47 pm
  • Hi, $ php5 -r '$o= new stdclass; var_dump(empty($o));' bool(false) $ php4 -r '$o= new stdclass; var_dump(empty($o));' bool(true) Was this an intentional change? - Timm
    Timm FriebeTimm Friebe
    Feb 29, 2004 at 5:14 pm
    Mar 6, 2004 at 6:44 pm
  • I ran into this with simplexml but am able to reproduce with userland classes. The segfault only occurs when the property in question does not exist, no __get and __set methods implemented (if either ...
    Rob RichardsRob Richards
    Feb 17, 2004 at 1:15 pm
    Feb 26, 2004 at 1:04 pm
  • I am trying to get PHP5beta4 work on my Win XP Pro machine as a module in apache 1.3.29. When I am starting apache I am getting an error saying that php5ts.dll has crashed. This happens when: a) When ...
    Erik FranzénErik Franzén
    Feb 16, 2004 at 4:07 pm
    Feb 21, 2004 at 6:48 am
  • Hello, in the latest snapshot i found some very important differences to the php5 beta 4 version concerning the behavior of inherited classes. please look at the following example: <pre <?php class ...
    Vivian StellerVivian Steller
    Feb 26, 2004 at 6:51 pm
    Feb 28, 2004 at 9:34 pm
  • I am prototyping on a PHP5 application using PEAR and I ran into a strange error. if (PEAR::isError($mReturn)) { throw $mReturn; } PEAR is not configured to return exceptions instead of PEAR Errors ...
    Erik FranzénErik Franzén
    Feb 22, 2004 at 2:37 pm
    Feb 22, 2004 at 6:41 pm
  • Hello, Having the scripts pasted below: include_once fails to declare the variable 'foo'. Replace include_once by include and it works. I got the same behavior using require and require_once. Am I ...
    Pierre-Alain JoyePierre-Alain Joye
    Feb 18, 2004 at 2:27 pm
    Feb 18, 2004 at 3:01 pm
  • Hey, while reading the session documentation today (en/reference/session/reference.xml) I noticed the following: To continue, <A HREF="nextpage.php?<?php echo strip_tags (SID)? " click here</A The ...
    Derick RethansDerick Rethans
    Feb 8, 2004 at 7:35 pm
    Feb 15, 2004 at 4:34 pm
  • Hey guys, I rolled a preliminary beta 4 package just to make sure nothing is seriously broken. You can still commit fixes in the next few hours and if I don't hear of any serious show stoppers, I'll ...
    Andi GutmansAndi Gutmans
    Feb 12, 2004 at 9:37 am
    Feb 12, 2004 at 3:46 pm
  • Er, either the php-internals MARC archive doesn't show all attachments, or my diff file got stripped en route for not having a .txt extension. I've attached it again, just to make sure. Paul -- ...
    Paul HudsonPaul Hudson
    Feb 10, 2004 at 12:53 am
    Feb 10, 2004 at 3:28 pm
  • Hi, Please find attached, the NetWare diff (text file) in the unified format taken using the command: cvs diff -uN. When I attached the diff of the whole php5 project, my mails were bouncing. So, I ...
    Ananth KesariAnanth Kesari
    Feb 5, 2004 at 9:04 am
    Feb 9, 2004 at 9:00 am
  • Is it me or does -d no longer work in 4.3? To test: php -d "track_errors=1" -i | grep track (assuming you have it off in your php.ini) Works fine for me in 4.3.2 but looks quite broken in 4.3.4. ...
    Rasmus LerdorfRasmus Lerdorf
    Feb 4, 2004 at 9:12 pm
    Feb 4, 2004 at 10:24 pm
  • No simple reproduce script available, unfortunately: Program received signal SIGBUS, Bus error. 0x8285320 in zend_fetch_obj_w_handler (execute_data=0xbfbfefc4, opline=0x854a4e0, op_array=0x854d648, ...
    Timm FriebeTimm Friebe
    Feb 26, 2004 at 3:32 am
    Mar 2, 2004 at 10:20 pm
  • Hello all, I'm currently documenting the Tidy extension and I've noted that John has changed the API in PHP 5. He changed all is_xxx to isXxx. This makes Tidy 1 and 2 (PHP 4 and 5) complitely ...
    Nuno LopesNuno Lopes
    Feb 21, 2004 at 11:13 am
    Feb 21, 2004 at 2:05 pm
  • Can one of the core guys have a look at http://bugs.php.net/bug.php?id=26665. This is an easily reproducable error for me. We have worked around it for now, but I am a little uneasy that it is out ...
    Brian MoonBrian Moon
    Feb 12, 2004 at 8:57 pm
    Feb 12, 2004 at 9:20 pm
  • Hey, Due to the consensus reached in including the SOAP extension in the main PHP distribution I have moved (symbolically linked like tidy and spl) soap to ext/. Make sure you do a cvs update -d when ...
    Andi GutmansAndi Gutmans
    Feb 5, 2004 at 10:09 am
    Feb 6, 2004 at 2:48 pm
  • Hey guys, Ilia raises a valid point here. We are quite inconsistent today when it comes to return values. In ext, for example, most functions return FALSE and not NULL (roughly about 2910 vs. 47), ...
    Andi GutmansAndi Gutmans
    Feb 4, 2004 at 11:09 am
    Feb 4, 2004 at 8:34 pm
  • Hi, I just made a patch to add http digest authentication for php5 based on RFC2617. It is not tested well yet, the attached sample script 'digest-auth.php' works with Mozilla Firebird 0.7. It is ...
    Rui HirokawaRui Hirokawa
    Feb 1, 2004 at 2:30 pm
    Feb 1, 2004 at 11:11 pm
  • Hey all, I think I have a fix for the problems in get_browser() as per the bug report. (#27291: get_browser matches browscap.ini patterns incorrectly) Gary Keith, who handles the browscap.ini file we ...
    Jay SmithJay Smith
    Feb 26, 2004 at 9:59 pm
    Mar 1, 2004 at 3:42 pm
  • PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (783 total including feature requests) ===============================================[*Directory/Filesystem functions] 26653 ...
    Feb 7, 2004 at 2:07 pm
    Feb 28, 2004 at 2:07 pm
  • Can anybody clarify this, please? Nuno
    Nuno LopesNuno Lopes
    Feb 27, 2004 at 1:55 pm
    Feb 27, 2004 at 5:46 pm
  • I'm getting a segfault at the end of (successful) script execution. Appears to be an issue in the shutdown sequence; I'm unsure how to report this bug, since providing duplicating code is not ...
    Hans LellelidHans Lellelid
    Feb 16, 2004 at 5:23 am
    Feb 25, 2004 at 10:04 pm
  • Hi, I just looked for the first time in months at the Reflection API and have two suggestions: 1.) There are a couple of methods that throw an Exception. I think it would be better to introduce a ...
    Sebastian BergmannSebastian Bergmann
    Feb 25, 2004 at 7:57 am
    Feb 25, 2004 at 3:35 pm
  • I have already run this past Sterling, but figured I would make sure there are no other objections to applying this patch to both 4.3 and HEAD. It allows switching back to the standard output by ...
    Brian J. FranceBrian J. France
    Feb 24, 2004 at 10:10 pm
    Feb 25, 2004 at 12:46 am
  • For anyone who wants to test PHP 5 with the latest libxml/libxslt libs for windows, I finally got some built and put them up at: http://www.ctindustries.net/libxml/ Rob
    Rob RichardsRob Richards
    Feb 24, 2004 at 12:51 pm
    Feb 24, 2004 at 3:04 pm
  • I'm trying to build a Win32 PHP5 without XML support (to determine how much of my 3+ megabyte php5ts.dll can be attributed to it). Using the latest snapshot (php5-200402191230) and this configure ...
    Michael SisolakMichael Sisolak
    Feb 19, 2004 at 10:54 pm
    Feb 20, 2004 at 11:37 am
  • Hi, I'm the fink maintainer/porter for php4 on Darwin/OSX I have all the modules building and running with little effort on 4.3.4, except imap and java I finally got java dlopening the proper dylib ...
    Feb 18, 2004 at 10:50 pm
    Feb 19, 2004 at 9:04 pm
  • No, otherwise I would have :) (cc-ing internals@ now) Derick
    Derick RethansDerick Rethans
    Feb 16, 2004 at 2:39 pm
    Feb 16, 2004 at 3:16 pm
Group Navigation
period‹ prev | Feb 2004 | next ›
Group Overview
groupphp-internals @

132 users for February 2004

Andi Gutmans: 79 posts Marcus Boerger: 54 posts Zeev Suraski: 41 posts Derick Rethans: 39 posts Pierre-Alain Joye: 39 posts Timm Friebe: 32 posts Jani Taskinen: 28 posts Stephane Drouard: 22 posts Michael Walter: 18 posts Ferdinand Beyer: 15 posts Sebastian Bergmann: 15 posts Andrei Zmievski: 13 posts Ard Biesheuvel: 13 posts Herr Witten: 13 posts Ilia Alshanetsky: 13 posts Nuno Lopes: 13 posts Hans Lellelid: 12 posts Hartmut Holzgraefe: 12 posts Stanislav Malyshev: 12 posts Adam Bregenzer: 11 posts
show more