FAQ

Search Discussions

118 discussions - 580 posts

  • OK, first of all I apologise for not posting this in the "right place", but this is an unreproducable bug (the worst kind...), and I need some educated guesses as to what is causing it. This thing ...
    Russ GarrettRuss Garrett
    Sep 5, 2004 at 7:33 pm
    Sep 10, 2004 at 8:38 pm
  • Hei, This is Rasmus' patch including a configure option "--disable-path-normalization" to enable this patch. By default this option is of course turned off. I am planning to commit this patch after ...
    Derick RethansDerick Rethans
    Sep 14, 2004 at 12:10 pm
    Sep 16, 2004 at 6:44 am
  • I'm doing a PHP compile for New York PHP's AMD64 Project. The goal is to enable all the hottest and modern extensions, and then let people hack with their favorite extensions to find problems and ...
    Hans ZaunereHans Zaunere
    Sep 25, 2004 at 2:21 am
    Nov 3, 2004 at 2:40 pm
  • And the last one, the most questionable patch. ATM ZE2 calls destructor at the end of the request and no matter is there were a fatal error (which should probably stop executing the script). In some ...
    Antony DovgalAntony Dovgal
    Sep 10, 2004 at 5:58 am
    Sep 18, 2004 at 7:57 pm
  • I am using PHP Version 5.0.1, MySQL 5.0.1-alpha-nt, and Apache/2.0.48 with Windows XP with SP2. When I use mysql_connect in a php page in Apache to connect to the "localhost" I get: Warning: ...
    Sam HobbsSam Hobbs
    Sep 16, 2004 at 4:01 am
    Sep 17, 2004 at 2:30 pm
  • Hi, Attached is the promised patch to do realpath() caching. You can set cache size and TTL via the php.ini (default is 2 minutes TTL and 16K memory). It doesn't use the SAPI time() but uses the ...
    Andi GutmansAndi Gutmans
    Sep 21, 2004 at 1:28 am
    Sep 27, 2004 at 10:51 pm
  • This is Rasmus' patch but only enabled on platforms where it's known to work. Applies to HEAD: the apache2handler SAPI builds and loads a shared extension OK like this on Linux/i686. It looks like ...
    Joe OrtonJoe Orton
    Sep 16, 2004 at 9:39 am
    Dec 20, 2004 at 4:33 pm
  • Hi Devs, what would probably be a nice addition: 1. static classes: static classes can only contain static methods and attributes <?php static class foo { public static function bar() {} } ? 2. final ...
    Michael VirnsteinMichael Virnstein
    Sep 28, 2004 at 12:45 pm
    Sep 30, 2004 at 8:11 pm
  • Please see: Copying HTML from a document to another document http://marc.theaimsgroup.com/?l=php-general&m=109419037409980&w=2 It has been more than two weeks without a reply. I suspect there is a ...
    Sam HobbsSam Hobbs
    Sep 19, 2004 at 6:30 pm
    Sep 20, 2004 at 3:58 am
  • Hello internals, What is the best way, from within a php script, to tell that the script is being run on the command line? I've used if(defined('STDIN')) but that seems kind of kludgey. If there is ...
    Jason GarberJason Garber
    Sep 30, 2004 at 9:10 pm
    Sep 30, 2004 at 10:05 pm
  • Hello Dmitry, does anything speak against changing soap's ctor's to __construct which is the PHP 5 way of doing things? Patch is attached. -- Best regards, Marcus
    Marcus BoergerMarcus Boerger
    Sep 9, 2004 at 10:22 am
    Sep 10, 2004 at 9:49 pm
  • When playing with PHP5 I tried the following code: foreach (new DirectoryIterator('.') as $file) { if (preg_match("/^\./", $file)){ continue; } print "<a href='$file' $file</a <br / \n"; } the result ...
    Aaron WormusAaron Wormus
    Sep 1, 2004 at 3:32 pm
    Sep 9, 2004 at 2:44 am
  • hey, i needed strptime() for a project i'm working on, its awful handy when you are making dates with strftime(). any objections to committing the attached patch? -sterling
    Sterling HughesSterling Hughes
    Sep 28, 2004 at 4:13 am
    Sep 28, 2004 at 4:50 pm
  • I just commited a big patch to Zend and the commit message didn't come through. Any idea why? revision 1.1 date: 2004/09/08 22:14:12; author: andi; state: Exp; - Some architectural changes: a) We ...
    Andi GutmansAndi Gutmans
    Sep 8, 2004 at 10:40 pm
    Sep 12, 2004 at 10:18 am
  • Hi All, I have updated the php to latest HEAD from then on compiling zend_execute.c keeps hanging. This is the compile command I could see, /bin/sh /root/kamesh/work/php-src/libtool --silent ...
    Kamesh JayachandranKamesh Jayachandran
    Sep 25, 2004 at 12:18 pm
    Sep 28, 2004 at 6:49 pm
  • You cannot just remove an extension from a *stable* cvs branch. Please revert this. Edin
    Edin KadribasicEdin Kadribasic
    Sep 13, 2004 at 4:43 pm
    Sep 14, 2004 at 6:22 am
  • Hi list, HEAD is broken for me following Derick's new sort flag addition earlier today. The attached one-liner may be a wrong fix, neither self nor D are sure. However it _does_ allow HEAD to build ...
    StephSteph
    Sep 13, 2004 at 2:06 pm
    Sep 14, 2004 at 1:02 am
  • Hello, I think that the last unserialize() changes (2004-09-05) have broken it, because now I can't even do a simple 'pear list'. I can reproduce this problem in both my two pcs. Can someone check ...
    Nuno LopesNuno Lopes
    Sep 10, 2004 at 6:44 pm
    Sep 12, 2004 at 12:52 pm
  • Hi All, what this MBO_0 mean? I could see the MBO_0 ifdefs removed in 1.62 version of TSRM.c whether this change has got anything to do with memory leak fix. I could see 246888 bytes of leak for each ...
    Kamesh JayachandranKamesh Jayachandran
    Sep 9, 2004 at 9:51 am
    Sep 9, 2004 at 5:30 pm
  • This is a simple example of why making a parse error out of undefined Exception types is going to be very problematic. function test($a) { if (!extension_exists('sqlite')) { return; } try { ...
    Alan KnowlesAlan Knowles
    Sep 1, 2004 at 1:01 pm
    Sep 2, 2004 at 6:47 am
  • d:\home\php\php5\Zend\zend_vm_spec.h(647): error C2084: function 'int ZEND_VM_NULL(zend_execute_data *,void *** )' already has a body d:\home\php\php5\Zend\zend_vm_spec.h(646): see previous ...
    Sebastian BergmannSebastian Bergmann
    Sep 24, 2004 at 4:12 am
    Sep 27, 2004 at 6:33 pm
  • Guys, There's no feedback about the new VM architecture and it's hard to maintain the patches as changes are being made to the source base constantly. I will recommit the patches on Monday unless ...
    Andi GutmansAndi Gutmans
    Sep 22, 2004 at 6:09 pm
    Sep 24, 2004 at 5:18 pm
  • Hi All, Have a situation where I want to unserialize a string received from an untrusted source over HTTP (a Javascript client in this case). For basic types this is no concern but when it comes to ...
    Harry FuecksHarry Fuecks
    Sep 5, 2004 at 3:33 pm
    Sep 6, 2004 at 9:19 am
  • Hi, Take it at face value but I get the following results with the new VM vs. 5.0.x on the bench.php script I commited to php5/Zend/tests. PHP 5.0.x PHP 5.1.x 37.5secs vs 29secs You know I'm not a ...
    Andi GutmansAndi Gutmans
    Sep 23, 2004 at 11:43 pm
    Sep 27, 2004 at 2:44 pm
  • Going through some error handling code, I noticed that while Plaintext and HTML errors use the error_prepend_string and error_append_string php.ini directives in the construction of their error ...
    Sara GolemonSara Golemon
    Sep 9, 2004 at 6:36 pm
    Sep 14, 2004 at 5:35 pm
  • Hi All, This is my first attempt at submitting a patch so please be gentle :). The feature requested in #29416 is something I've wanted to see for a while, so I decided to have a go at adding it. I ...
    Stuart DallasStuart Dallas
    Sep 1, 2004 at 7:54 pm
    Sep 2, 2004 at 8:35 pm
  • Trying to register a constant value for a class and it keeps crashing. Learning C as I go, so I would appreciate some insight. I can figure out that my *property value is lost during zend_hash_add() ...
    Robert SilvaRobert Silva
    Sep 27, 2004 at 1:29 am
    Sep 28, 2004 at 12:31 am
  • Hi Helly, I had the tests/classes/factory_and_singleton_009.phpt testcase failing in Linux, NetWare, Windows ports of PHP. And found that this failure is due to one extra line. Attached the patch. ...
    Kamesh JayachandranKamesh Jayachandran
    Sep 23, 2004 at 11:15 am
    Sep 24, 2004 at 12:21 pm
  • I'd like to roll 5.0.2 tomorrow. Has anyone had a chance to test 5.0.2RC1? Can I go ahead? Ilia, when are you planning on rolling 4.3.9? Andi
    Andi GutmansAndi Gutmans
    Sep 21, 2004 at 8:50 pm
    Sep 22, 2004 at 7:48 am
  • Hi, I need to load more than one "additional_module" in my self-made SAPI-module. Looking around at the php/zend-API, I thought that the php_module_startup(...) function provides such functionality: ...
    Norbert WagnerNorbert Wagner
    Sep 10, 2004 at 9:04 pm
    Sep 21, 2004 at 11:56 am
  • Hi, (Long time lurker, first time poster). *Windows only* 4.3.9rc2 sendmail.c sets the date header if you don't supply one, unfortunately it doesn't respect DST: I'm in the UK in daylight savings ...
    Carter, JohnCarter, John
    Sep 9, 2004 at 9:03 am
    Sep 20, 2004 at 7:17 am
  • Another one patch for ZE. This one fixes the bug #29378. It looks like this bug was done intentionally (I'm not sure, just an assumption), so zend_std_get_property_ptr_ptr() doesn't call __get. ...
    Antony DovgalAntony Dovgal
    Sep 10, 2004 at 5:58 am
    Sep 16, 2004 at 10:46 pm
  • this is actually a relevant discussion for internals... ---------- Forwarded message ---------- From: Sterling Hughes <sterling.hughes@gmail.com Date: Wed, 8 Sep 2004 23:26:00 -0700 Subject: Re: ...
    Sterling HughesSterling Hughes
    Sep 9, 2004 at 6:26 am
    Sep 10, 2004 at 7:36 am
  • This patch adds some quite useful functionalities to socket_get_options() function. 1st of all, it adds the constant SOL_IP to indicate IP layer in the level parameter. 2nd, and the most important, ...
    Leonardo PedrettiLeonardo Pedretti
    Sep 30, 2004 at 6:47 pm
    Oct 1, 2004 at 2:50 pm
  • we're experiencing truncation of cookie values. is there a hard-coded limit in php? there's nothing in the docs. i didn't find any bugs at bugs.php.net about this. thanks, dietrich
    Dietrich AyalaDietrich Ayala
    Sep 28, 2004 at 6:24 pm
    Sep 28, 2004 at 7:01 pm
  • The downloadable tar.gz for PHP-5.0.2 is named .tar.tar rather than .tar.gz -Sara
    Sara GolemonSara Golemon
    Sep 24, 2004 at 5:40 pm
    Sep 27, 2004 at 8:15 pm
  • PHP 5 Bug Database summary - http://bugs.php.net Num Status Summary (386 total including feature requests) ===============================================[*Compile Issues]============== 28103 Open ...
    InternalsInternals
    Sep 6, 2004 at 7:30 am
    Sep 27, 2004 at 7:30 am
  • PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (833 total including feature requests) ===============================================[*Configuration Issues]======== 29208 Open ...
    InternalsInternals
    Sep 6, 2004 at 7:00 am
    Sep 27, 2004 at 7:00 am
  • Is there something we can do about serialization breaking between 5.0.xand 5.1.x? IIRC we don't save the PHP version number with serialized data. If so, we could adjust the types according to version ...
    Andi GutmansAndi Gutmans
    Sep 26, 2004 at 8:07 pm
    Sep 26, 2004 at 8:35 pm
  • I'm working on creating object wrappers for native php types. With ZE2 and the cast_object object handler, I am able to "unbox" the objects to their native php types with simple casts, but as ZE2 ...
    Robert SilvaRobert Silva
    Sep 25, 2004 at 2:03 am
    Sep 25, 2004 at 10:02 am
  • For quite a while I have been fighting with what I believe to be a bug in the Zend Engine 2. In PHPUnit2 I have the following code: public function run(PHPUnit2_Framework_Test $test) { // $test- ...
    Sebastian BergmannSebastian Bergmann
    Sep 22, 2004 at 7:52 pm
    Sep 23, 2004 at 2:28 pm
  • It would seem that this bug has appeared again, in 5.0.1 on Apache 2.0.50 I've had a report about it on the firebird-php list, and on checking it would seem that it can be reproduced. Could someone ...
    Lester CaineLester Caine
    Sep 10, 2004 at 11:28 am
    Sep 14, 2004 at 10:06 am
  • i need to commit an extension to PECL, but i havent used my CVS account in ages (since 4.0B). i dont recall my password and i've long since changed ISPs and email addresses. what do i need to do ? ...
    L0t3kL0t3k
    Sep 13, 2004 at 4:10 pm
    Sep 13, 2004 at 5:14 pm
  • Hi, I just realised that Example 34-2. Validating file uploads Is still showing a bullshit example. It constructs a destination path for move_uploaded_file() that consists of user input. There is no ...
    Stefan EsserStefan Esser
    Sep 7, 2004 at 6:15 pm
    Sep 8, 2004 at 12:41 am
  • Should unserialize_callback_func not be mentioned here? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: ...
    Sebastian BergmannSebastian Bergmann
    Sep 5, 2004 at 7:54 pm
    Sep 6, 2004 at 7:19 am
  • I have nothing to gain from this directly myself, but I did wonder about this: Why is the OpenSSL library used still version 0.9.6c from December 2001 while there have been many more releases since ...
    Ron KorvingRon Korving
    Sep 3, 2004 at 1:59 pm
    Sep 4, 2004 at 9:15 am
  • Hello, I want to write an OO extension in C++ for my PHP 4.3.8 under linux. I have already written some extensions in C for my own purposes, which introduce new functions to PHP. Studying the sources ...
    Jan GerritsenJan Gerritsen
    Sep 3, 2004 at 3:04 pm
    Sep 3, 2004 at 9:03 pm
  • Hello, We sent you an email a while ago, because you now qualify for a new mortgage. You could get $300,000 for as little as $700 a month! Bad credit is no problem, you can pull cash out or ...
    Braun_llBraun_ll
    Sep 1, 2004 at 1:12 am
    Sep 3, 2004 at 6:25 pm
  • Hi all: I'm very new to PHP internals, and I would like to get some help: I added a few lines of code to sapi_apache.c and mod_php4.c (from original source of php-4.3.8); but when I make I get: make: ...
    Manuel Vázquez AcostaManuel Vázquez Acosta
    Sep 30, 2004 at 9:34 pm
    Sep 30, 2004 at 10:50 pm
  • After 3 days tracing this thing, I found the problem. Any suggestions? Im trying to define a class constant by allocating a zval str using ALLOC_ZVAL in PHP_MINIT for my extension. This class ...
    Robert SilvaRobert Silva
    Sep 28, 2004 at 7:00 pm
    Sep 28, 2004 at 11:15 pm
Group Navigation
period‹ prev | Sep 2004 | next ›
Group Overview
groupphp-internals @
categoriesphp
discussions118
posts580
users114
websitephp.net

114 users for September 2004

Andi Gutmans: 72 posts Derick Rethans: 41 posts Rasmus Lerdorf: 31 posts Marcus Boerger: 30 posts Wez Furlong: 20 posts Andrey Hristov: 19 posts Kamesh Jayachandran: 17 posts Sam Hobbs: 17 posts Robert Silva: 14 posts Antony Dovgal: 13 posts Joe Orton: 12 posts Sara Golemon: 12 posts Steph: 10 posts Curt Zirzow: 9 posts Russ Garrett: 9 posts Sebastian Bergmann: 9 posts Zeev Suraski: 9 posts Internals: 8 posts Alan Knowles: 8 posts Nuno Lopes: 8 posts
show more
Archives