Search Discussions

161 discussions - 700 posts

  • Hello, If I have an XML document such: . <para This is some <i test</i text. </para . When I use simplexml_load_string and then do: print( $obj- para ); The result is: "This is some text." Note that ...
    Blake SchwendimanBlake Schwendiman
    Jan 7, 2004 at 9:29 pm
    Jan 14, 2004 at 4:43 pm
  • Hey, I just compiled PHP using --disable-all and realized that there's a shit load of relatively useless stuff still being compiled into it. The first thing I realized is that regex is still being ...
    Andi GutmansAndi Gutmans
    Jan 8, 2004 at 8:11 am
    Jan 9, 2004 at 10:56 pm
  • Ilia, I think there is a problem with your latest fixes on the 4_3 branch. Stuff that used to work is now broken. Stuff like this: main.php: include 'inc1.inc'; inc1.inc: @include 'inc2.inc'; If ...
    Rasmus LerdorfRasmus Lerdorf
    Jan 30, 2004 at 10:31 am
    Feb 3, 2004 at 2:25 pm
  • I'm currently using PHP4 and I'm evaluating PHP5 for its new exciting features. I have some remarks, split into distinct posts. The first one is about the current implementation of __clone(): * a ...
    Stephane DrouardStephane Drouard
    Jan 22, 2004 at 2:37 pm
    Feb 3, 2004 at 8:55 am
  • In the hopes of moving the discussion forward, I'm going to try and sum up general consensus. I believe we agree on most issues, so hopefully it should be easy to come up with the next steps we ...
    Adam Maccabee TrachtenbergAdam Maccabee Trachtenberg
    Jan 13, 2004 at 7:52 am
    Jan 17, 2004 at 3:01 pm
  • PHP implements an "stdClass". I expected that: * this was the base class for all classes, even if they do not explicitly "extends stdClass", * this class implemented all the "standard" methods ...
    Stephane DrouardStephane Drouard
    Jan 22, 2004 at 2:48 pm
    Jan 27, 2004 at 3:01 pm
  • Again, I'm asking about running both PHP4 and PHP5 on Windows XP as Apache modules. I asked this question a few months ago and was told it was a bad idea. But now, it seems that the latest snapshot ...
    Jan 10, 2004 at 7:09 am
    Jan 11, 2004 at 10:40 pm
  • I have a project where I need to have both Apache SAPI (shared) and embed SAPI (shared) compiled/active at the same time. Is that possible to do at all? Any risk of symbol clashes or other similar ...
    Andrei ZmievskiAndrei Zmievski
    Jan 6, 2004 at 11:03 pm
    Jan 28, 2004 at 7:22 pm
  • Hi, I am working on porting PHP 5.0 onto NetWare. I would like to start checking in the changes into the PHP 5.0 source code branch. What is the project name that I need to check in? Thanks, Ananth.
    Ananth KesariAnanth Kesari
    Jan 21, 2004 at 11:48 am
    Jan 30, 2004 at 12:49 pm
  • Hi internals, I know HEAD is freezed, but anyway to ask whether a new function in_array_all() can be added. It works like in_array() but checks whether all needles are in the stack array. Diff : ...
    Andrey HristovAndrey Hristov
    Jan 13, 2004 at 8:58 pm
    Jan 14, 2004 at 12:01 am
  • Greetings: I obtained a copy of Visual Studio .NET and tried to build PHP 5 from the current source. Ran into some problems when it came to the configure.js step. Here are the steps I took... Start ...
    Daniel ConvissorDaniel Convissor
    Jan 3, 2004 at 4:23 am
    Jan 7, 2004 at 8:11 pm
  • I just cvs update -A a php4 src tree to get php5 (had to checkout ZendEngine2), and assume that the next thing to do is run buildconf. One thing: after the dance of mv ZendEngine2 Zend, future cvs ...
    Patrick WelchePatrick Welche
    Jan 21, 2004 at 4:52 pm
    Jan 29, 2004 at 6:01 pm
  • Hi, I just want to make sure this is in fact true: http://bugs.php.net/bug.php?id=24687 So does this mean we can all remove our php5 compatibility hacks that relate to the above bug report? I would ...
    Lukas SmithLukas Smith
    Jan 11, 2004 at 6:38 pm
    Jan 27, 2004 at 4:47 pm
  • Hello group, I'm looking for a way to fix http://bugs.php.net/26968. This bug is caused by the underlying client .so using atexit() to register a cleanup function. As the library is unloaded before ...
    Ard BiesheuvelArd Biesheuvel
    Jan 20, 2004 at 1:37 pm
    Jan 21, 2004 at 10:59 pm
  • 11


    Hello internals, i would like to see ext/SPL from PECL as a default built-in PHP5 module. It is stable enough and for 5.0 i do not plan any more features. Since some earlier SimpleXML features are ...
    Marcus BoergerMarcus Boerger
    Jan 18, 2004 at 10:24 pm
    Jan 19, 2004 at 8:29 am
  • I think a better approach is to follow the $class::$method() format, rather than going down the path of interpreting what the variable contents might be. I mean, we don't allow $method() calls when ...
    Andrei ZmievskiAndrei Zmievski
    Jan 5, 2004 at 11:07 pm
    Jan 6, 2004 at 2:16 am
  • Hi, so PHP5 (currenlty HEAD) is feature freezed and therefore new code goes nowhere, only bugfixes go to php-src module since PHP_4_3 is also feature freezed. Is it ok, to branch PHP5_0 from HEAD so ...
    Andrey HristovAndrey Hristov
    Jan 14, 2004 at 12:21 pm
    Jan 14, 2004 at 4:55 pm
  • Hi Folks: Downloaded the latest snapshot, php5-win32-200401081130, and am enjoying the new file layout. Both the CGI and CLI exe's are now in the base directory. CLI is called "php.exe" and the CGI ...
    Daniel ConvissorDaniel Convissor
    Jan 8, 2004 at 6:31 pm
    Jan 8, 2004 at 8:33 pm
  • Hi, There is a bug in #6 of README.PHP4-TO-PHP5-THIN-CHANGES. It should read: 6. Starting PHP 5.0.0 the T_ML_COMMENT constant is no longer defined by the ext/tokenizer extension. If error_reporting ...
    Greg BeaverGreg Beaver
    Jan 17, 2004 at 6:55 pm
    Jan 27, 2004 at 6:17 pm
  • Why must variable names begin with $? I can't see any real reason, except when signalling a replacement within a string (e.g., "... $var ..."). The language would be less cumbersome if the dollar was ...
    Michael HawleyMichael Hawley
    Jan 27, 2004 at 2:34 am
    Jan 27, 2004 at 5:05 pm
  • The current implementation of class Exception has a private "trace" member, which is used to store the backtrace. But if you throw an exception of a derived class of Exception, print_r() displays an ...
    Stephane DrouardStephane Drouard
    Jan 22, 2004 at 2:46 pm
    Jan 28, 2004 at 10:55 pm
  • Guys, I remember we agreed that OO code will have studlyCaps. I don't want to have this long thread again (I was actually initially opposed but got convinced/gave in). As I don't have the time right ...
    Andi GutmansAndi Gutmans
    Jan 20, 2004 at 10:34 pm
    Jan 21, 2004 at 10:17 pm
  • Hi internals, casting an object to array gives the possibility to get the values of protected/private member variables : <?php class some { public $pub = 1; protected $prot = 2; private $priv = 3; } ...
    Andrey HristovAndrey Hristov
    Jan 17, 2004 at 3:54 pm
    Jan 21, 2004 at 3:51 pm
  • Hello internals, version 5 does neither support nested classes nor conditional classes. Not supporting the former is a bit of a loss but the latter leads to ugly software design so no worry here. ...
    Marcus BoergerMarcus Boerger
    Jan 5, 2004 at 2:37 pm
    Jan 11, 2004 at 7:39 pm
  • Hi: Running php5-win32-200401081130. Uncommented several extensions in php.ini. Adjusted my extension_dir. All of the extensions loaded just fine, except php_mysql.dll. The file is in the appropriate ...
    Daniel ConvissorDaniel Convissor
    Jan 8, 2004 at 6:40 pm
    Jan 9, 2004 at 7:43 am
  • Is there any way to have an _interface_ implement or extend multiple interfaces? This was working as of PHP5b3, but seems to work no longer as of latest snapshot I downloaded. The only way to do it ...
    Hans LellelidHans Lellelid
    Jan 16, 2004 at 9:16 pm
    Feb 16, 2004 at 5:25 am
  • Hello, I am noticing a strange effect in php-4.3.5RC1 while using dba_open("name", "c", "db4") -- this used to work in php-4.3.3 (I have both libphp4.so versions and can switch between them) but it ...
    Martin KraemerMartin Kraemer
    Jan 15, 2004 at 5:08 pm
    Jan 26, 2004 at 8:10 am
  • I'm trying to run the SPL examples and running into some problems. Some of these I was able to work around, but I eventually end up generating a 192 Mb core dump with a 1000+ line gdb backtrace. It's ...
    Adam Maccabee TrachtenbergAdam Maccabee Trachtenberg
    Jan 23, 2004 at 8:48 pm
    Jan 25, 2004 at 1:08 am
  • Hello list, I find often myself wanting to append a variable to an unknown url. The problem is that you don't know if you should append the var with ? or with &. Do you think it would be useful to ...
    Juan AlonsoJuan Alonso
    Jan 21, 2004 at 11:17 am
    Jan 21, 2004 at 2:04 pm
  • Question: Given an object, $obj, should strval($obj) and settype($obj, 'string') return $obj- __toString() if it exists? They currently do not, but (string) $obj does. Are these three operations ...
    Adam Maccabee TrachtenbergAdam Maccabee Trachtenberg
    Jan 15, 2004 at 6:04 pm
    Jan 16, 2004 at 11:14 pm
  • Hey, The attached script gives 10 leaks when PHP5 is compiled with --enable-debug. These problems are also related to Bug #26765, I'll be taking a look at it, unless someone knows the cause already. ...
    Sterling HughesSterling Hughes
    Jan 13, 2004 at 11:42 pm
    Jan 14, 2004 at 7:37 pm
  • Hello Marcus, Okay. I tracked it down. I am using the new build system so that spl gets compiled in. However, the problem is that simplexml is getting initialized before spl and simplexml needs the ...
    Blake SchwendimanBlake Schwendiman
    Jan 8, 2004 at 8:15 pm
    Jan 9, 2004 at 8:49 pm
  • does anyone know where i can find documentation for PHP's internal API? functions/macros like: zend_hash_next_index_insert zend_register_functions zend_make_printable_zval ...etc i am writing a PHP ...
    Jan 9, 2004 at 12:08 am
    Jan 9, 2004 at 7:23 pm
  • I've been rewriting my embedded Python extension for PHP5 so that I can take advantage of ZE2's spiffy object handler system. I've just gotten most things working, but I noticed that my custom object ...
    Jon PariseJon Parise
    Jan 3, 2004 at 12:01 am
    Jan 3, 2004 at 10:44 am
  • I downloaded the latest Windows zip of 5 from snaps this morning. It's php-win32-200401281930.zip. When I try to run either php or php-cgi, I get a long string of error messages as follows: PHP Fatal ...
    Jan 28, 2004 at 10:13 pm
    Jan 28, 2004 at 10:52 pm
  • Alright.. I've got a patch sitting here on my laptop that converts all of the OO syntax in the tidy extension into studlyCaps. I.e. $tidy = tidy_parse_file(); or $tidy = new tidy(); $tidy- ...
    John CoggeshallJohn Coggeshall
    Jan 21, 2004 at 8:00 am
    Jan 21, 2004 at 10:20 am
  • Hey, I've attached a fix for an engine level crash in switch() when it is used with string offsets. This eliminates a double-free and valgrind reports that no new leaks have been introduced. -Sterling
    Sterling HughesSterling Hughes
    Jan 13, 2004 at 8:04 pm
    Jan 13, 2004 at 10:36 pm
    Jan 11, 2004 at 12:32 pm
    Jan 11, 2004 at 2:18 pm
  • Hello, I was wondering on how to iterate over the elements of <body in the following piece of XML: <sx <body <element foo</element bar <baz foobar</baz </body </sx when I iterate over $s- body- ...
    Derick RethansDerick Rethans
    Jan 31, 2004 at 11:48 pm
    Feb 4, 2004 at 2:45 pm
  • PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (809 total including feature requests) ===============================================[*Directory/Filesystem functions] 26574 ...
    Jan 3, 2004 at 2:04 pm
    Jan 31, 2004 at 2:06 pm
  • Isn't this a serious BC break for people who rely on gpc_order and aren't using variables_order? Why are you making such a change in a feature freeze? Andi
    Andi GutmansAndi Gutmans
    Jan 29, 2004 at 8:03 am
    Jan 29, 2004 at 7:08 pm
  • It seems there is a problem in either the PHP's shutdown sequence in php_request_shutdown() or destrutor order in ZE2. The problem is quite simple, the module loaded via dl() (when libdl is used) is ...
    Ilia AlshanetskyIlia Alshanetsky
    Jan 9, 2004 at 5:11 am
    Jan 20, 2004 at 10:41 pm
  • The win32 build will correctly order extensions for internal_functions.c, so that solves static compiles, but that doesn't help dynamic loading (nor the unix build). Would it be ok to keep Marcus' ...
    Wez FurlongWez Furlong
    Jan 19, 2004 at 11:17 am
    Jan 20, 2004 at 2:02 pm
  • Hi, I just tried a test parse of phpDocumentor CVS using a fresh compile of HEAD on windows xp. It went bananas with warnings and a fatal error. Tracking down the error turned up get_class() ...
    Greg BeaverGreg Beaver
    Jan 14, 2004 at 9:17 pm
    Jan 15, 2004 at 1:06 am
  • Hi, Here is a patch to output_reset_rewrite_vars because no parameter count was done. Nuno
    Nuno LopesNuno Lopes
    Jan 10, 2004 at 10:18 am
    Jan 10, 2004 at 3:49 pm
  • Hi, in late December right before beta 3, I compiled PHP 5 successfully from HEAD using the new win32 build system. Today, I tried another compile, and came up empty. Anything obviously changed that ...
    Greg BeaverGreg Beaver
    Jan 8, 2004 at 1:58 am
    Jan 9, 2004 at 10:20 am
  • Hi all, I wanted to compare the memory usage of PHP4 and PHP5 (Beta 3) on a same script. And i observed a strange problem. So, here is a small test (if you want to reproduce it). First, i write a ...
    Jan 8, 2004 at 5:37 pm
    Jan 8, 2004 at 8:38 pm
  • Hey Internals, Would anyone be able to write, or point me to, some examples for using the new DOM extension? I'm looking to do some documenting, but I need to know how to use our implementation ...
    Ken TossellKen Tossell
    Jan 7, 2004 at 11:48 pm
    Jan 8, 2004 at 5:47 am
  • Hello , I have Apache compiled for Prefork MPM and PHP as Loadable module on Redhat LINUX 7.3. 1. I have a PHP extension module which is added in the "extension=mymodule.so" directive of php.ini. 2. ...
    Ashish b\\Ashish b\\
    Jan 30, 2004 at 7:24 am
    Jan 30, 2004 at 12:18 pm
  • Sascha, not sure if you followed the discussion regarding the conf settings bleeding from one request to the next in the apache1 sapis. We finally tracked it down to a forgotten zend_ini_deactivate() ...
    Rasmus LerdorfRasmus Lerdorf
    Jan 28, 2004 at 6:13 pm
    Jan 29, 2004 at 3:23 pm
Group Navigation
period‹ prev | Jan 2004 | next ›
Group Overview
groupphp-internals @

143 users for January 2004

Andi Gutmans: 62 posts Marcus Boerger: 51 posts Christian Schneider: 29 posts Daniel Convissor: 28 posts Adam Trachtenberg: 27 posts Andrei Zmievski: 26 posts Jani Taskinen: 25 posts Sterling Hughes: 25 posts Wez Furlong: 24 posts Andrey Hristov: 23 posts Derick Rethans: 19 posts Pierre-Alain Joye: 17 posts Rasmus Lerdorf: 16 posts Ilia Alshanetsky: 12 posts Zeev Suraski: 12 posts Ard Biesheuvel: 11 posts George Schlossnagle: 11 posts Stephane Drouard: 10 posts Choinet: 9 posts Jon Parise: 9 posts
show more