FAQ

Search Discussions

134 discussions - 653 posts

  • And what about your job? So, you are author of mcrypt module. Let audit your work: /ext/mcrypt/mcrypt.c Can you explain me the sense of the memset() after any memory allocation in the mcrypt.c. For ...
    Alexander ValyalkinAlexander Valyalkin
    Jun 15, 2004 at 3:30 pm
    Jun 20, 2004 at 8:42 pm
  • Hi, am I correct in assuming that all critical PHP5 bugs are now killed, or is there anything left that hinders the RC3 release? Stefan
    Stefan EsserStefan Esser
    Jun 6, 2004 at 11:48 am
    Jul 10, 2004 at 5:47 pm
  • OK I've downloaded phpweb and tried to run it on PHP5, but have fallen at the first hurdle. index.php calls for include/pregen-events.inc but I can't see that on the CVS - where am I going wrong :) ...
    Lester CaineLester Caine
    Jun 19, 2004 at 4:18 pm
    Jul 2, 2004 at 2:49 pm
  • Today I checked stripslashes() function. My version of the function if faster, more clearer and bugs free (I hope :)) Below you can see the source and unified diff: ============source============= ...
    Alexander ValyalkinAlexander Valyalkin
    Jun 8, 2004 at 1:57 pm
    Jun 10, 2004 at 10:24 pm
  • It looks like the last time this was discussed was October of 2003, over the course of about five emails. I don't see anything in the archives about it since then. Here's what I'd like to suggest. ...
    Daniel CrookstonDaniel Crookston
    Jun 23, 2004 at 3:04 pm
    Jul 3, 2004 at 11:14 am
  • Hi All, Sorry to repost for the third time. I want the clarification regarding copying the global_class_table to thread specific compiler_globals- class_table in compiler_globals_ctor in Zend/zend.c. ...
    Kamesh JayachandranKamesh Jayachandran
    Jun 28, 2004 at 11:19 am
    Jul 12, 2004 at 4:39 pm
  • Hi, I wonder if it is intended behavior, that execution stops when PHP stumbles across something like the following: ===#=== function doSth(Foo $Foo) { if (!isset($Foo)) return; // ... } doSth(null); ...
    Michael WallnerMichael Wallner
    Jun 15, 2004 at 11:27 am
    Jun 18, 2004 at 8:29 pm
  • 14

    RC3

    Anything else that needs to go into RC3? Andi
    Andi GutmansAndi Gutmans
    Jun 1, 2004 at 11:48 am
    Jun 3, 2004 at 9:48 am
  • http://bugs.php.net/28879 The fixes are really simple (and the ZE1 branch is no more complicated), but I just wanted to double check that this kind of behavior change should be done. On the one hand ...
    Sara GolemonSara Golemon
    Jun 22, 2004 at 4:42 pm
    Jun 27, 2004 at 8:52 am
  • Hi All, I have a class and a subclass, both with a static method: <?php class Foo { static function Bar() { self::Baz(); } } class Foo2 extends Foo { static function Baz() { echo 'Baz'; } } ...
    Bert SlagterBert Slagter
    Jun 1, 2004 at 1:11 pm
    Jun 3, 2004 at 8:01 am
  • The ext/mcve module at some point in time needs to be renamed ext/monetra to reflect a naming change, and lessen confusion in the field, as the product is no longer referenced as MCVE. What is the ...
    Brad HouseBrad House
    Jun 20, 2004 at 3:20 pm
    Jun 22, 2004 at 11:55 am
  • Hello, I just added a rewrite rule to the http://news.php.net site which makes: http://news.php.net/<group /<articlenr into: http://news.php.net/article.php?group=<group &article=<articlenr which ...
    Derick RethansDerick Rethans
    Jun 21, 2004 at 1:27 pm
    Jun 21, 2004 at 5:42 pm
  • There is a rather nasty crash possible in PHP due to the usage of the alloca() function as can be demonstrated by bug #28064. Simpler bug replication case: php -r ' $a = str_repeat("a", 1024 * 1024 * ...
    Ilia AlshanetskyIlia Alshanetsky
    Jun 14, 2004 at 3:38 pm
    Jun 17, 2004 at 10:58 pm
  • Hello, In PHP4 and PHP5 the following syntax works fine (note the last comma): array ( 1 = 'bob', 2 = 'sam', ); Is being able to have a comma at the END of an array definition a supported feature, or ...
    Jason GarberJason Garber
    Jun 17, 2004 at 8:03 am
    Jun 18, 2004 at 1:04 am
  • Here is improved version of crc32() function. Features: 1) Automatic initialization of crc32tab[] at first call. So, the file crc32.h with definition of this tab is not nessesary any more now. 2) ...
    Alexander ValyalkinAlexander Valyalkin
    Jun 12, 2004 at 4:32 pm
    Jun 14, 2004 at 5:20 pm
  • Hi, As I understand that www.php.net (the main web site) works fine with PHP 5, can someone with root access upgrade to PHP 5 on www.php.net? As discussed here, it'd be good to make this switch in ...
    Andi GutmansAndi Gutmans
    Jun 27, 2004 at 6:28 am
    Jun 28, 2004 at 4:26 pm
  • While venus is crossing the sun I'm trying to model a tree using two arrays; one containing the structure of the tree and the other containing the data of the nodes. The second array also contains ...
    Taco van den BroekTaco van den Broek
    Jun 8, 2004 at 9:17 am
    Jun 10, 2004 at 7:12 am
  • When I try to print huge files (greate than 500Mb) using readfile() function, my computer crashes. Why? I found in the PHP 4.3.7 sources the file /main/strems.c and function _php_stream_passthru() in ...
    Alexander ValyalkinAlexander Valyalkin
    Jun 7, 2004 at 11:10 am
    Jun 9, 2004 at 9:41 am
  • ok, If this is fixed in cvs, I appologise - google wasn't suggesting that this has come up before. I've just been playing around with the __destruct() function a little bit, and seeing exactly what I ...
    Gareth ArdronGareth Ardron
    Jun 24, 2004 at 11:29 am
    Jun 30, 2004 at 6:27 am
  • Today I've revised strrchr() function in PHP4.3.7 sources. It wasn't binary-safe. For example: 1) strrpos('abcd', '') returns 4. Expected FALSE 2) strrpos("a\0abcde", 'a') returns 6. Expected 2 3) ...
    Alexander ValyalkinAlexander Valyalkin
    Jun 16, 2004 at 4:37 pm
    Jun 17, 2004 at 7:29 am
  • Read it: void *memmove(void *s1, const void *s2, size_t n); If s1 and s2 overlap, all bytes are copied in a preserving manner (unlike memcpy()) And anwer the question: are s1 and s2 overlap in the ...
    Alexander ValyalkinAlexander Valyalkin
    Jun 11, 2004 at 2:51 pm
    Jun 13, 2004 at 1:05 pm
  • I made a patch for bug #28325. I'd like to see this one applied by the time PHP5 gets out of the door. http://www.voltex.jp/patches/bug28325-preliminary.patch.diff Regards, Moriyoshi
    Moriyoshi KoizumiMoriyoshi Koizumi
    Jun 30, 2004 at 3:05 am
    Jul 1, 2004 at 9:50 pm
  • Hi all, I have a pattern I'm trying to implement in PHP5 using a class that could be called statically or non-statically. Perhaps "pattern" gives this too much legitimacy :) I can't figure out how to ...
    Hans LellelidHans Lellelid
    Jun 24, 2004 at 1:08 am
    Jun 24, 2004 at 11:13 am
  • Hi, would it be possible to simply have PHP5 delayed until 7th July? We could add GIF write support within GD lib, because on the 7th of July the patent is world wide lifted. Stefan (ps: maybe this ...
    Stefan EsserStefan Esser
    Jun 20, 2004 at 10:40 am
    Jun 20, 2004 at 6:58 pm
  • What sense of the [allowable_tags] parameter in strip_tags()? According docs, "You can use the optional second parameter to specify tags which should not be stripped". Ok. Suppose, I have a ...
    Alexander ValyalkinAlexander Valyalkin
    Jun 10, 2004 at 1:33 pm
    Jun 11, 2004 at 1:06 pm
  • This is a test message to detect any automated spam. Please don't reply, or you may be removed from the list accidently.
    Aidan ListerAidan Lister
    Jun 8, 2004 at 2:13 pm
    Jun 11, 2004 at 5:04 am
  • An Zend API 2.0 paper I read a while ago said something about "delete" being implemented in PHP5. However, no delete. Was this feature dropped? I have implemented delete for myself now and was ...
    Florian SchaperFlorian Schaper
    Jun 1, 2004 at 2:43 pm
    Jun 2, 2004 at 6:37 am
  • Hi, I'm working on ext/id3 (proposed in pecl) and I'm currently experiencing a problem. I got a function that is used to update the information in an ID3 tag. The user passes an array and I update ...
    Stephan SchmidtStephan Schmidt
    Jun 14, 2004 at 4:23 pm
    Jun 14, 2004 at 7:23 pm
  • Apparently, the default 8MB are not enough for the PEAR installation, so it bails out when trying to 'make install'. Changing php.ini doesn't have any effect since the installation uses -n to ignore ...
    Zeev SuraskiZeev Suraski
    Jun 23, 2004 at 11:31 am
    Jul 5, 2004 at 6:47 am
  • Hi, is there a reason that when a child class is instantiated the parent class constructor does not get called? The obvious workaournd for this is to simply call $this- parentConstructor(); in the ...
    Jason DavidsonJason Davidson
    Jun 27, 2004 at 3:03 am
    Jun 29, 2004 at 5:57 pm
  • Given: $a[2] = '1'; $k = (double)2; echo isset($a[$k]); unset($a[$k]); echo isset($a[$k]); echo " - expect 1\n"; Results: 11 - expect 1 Although a double value isn't a valid array index, it doesn't ...
    Curt ZirzowCurt Zirzow
    Jun 18, 2004 at 4:16 pm
    Jun 19, 2004 at 8:29 pm
  • Consider the following: $x = FALSE; $x || throw new exception('Some Assertion'); I get the following Parse Error: error: parse error, unexpected T_THROW in /home/.../Z_Record.php on line 153 However, ...
    Jason GarberJason Garber
    Jun 17, 2004 at 6:17 am
    Jun 18, 2004 at 1:00 am
  • Hi, seems some parts... especially sqlite are not 64bit safe. If you want to do something productive go out and search for zend_parse_parameter calls where l is not writing to a long (NOT int) and ...
    Stefan EsserStefan Esser
    Jun 16, 2004 at 5:02 pm
    Jun 17, 2004 at 7:26 am
  • Hi all! What do you expect from this code? <?php class Foo{ private $id = false; public function getId () { return $this- id; } public function setId ($id) { return $this- id = $id; } } class Bar ...
    Antony DovgalAntony Dovgal
    Jun 15, 2004 at 1:58 pm
    Jun 15, 2004 at 2:40 pm
  • Hi, I'm having trouble with output buffering limitation and the output_callback function of ob_start. look at this script : <?php function ob_perso_handler($buffer) { ob_start(); echo 'foo'; $buffer ...
    Okin OkinOkin Okin
    Jun 9, 2004 at 10:51 pm
    Jun 15, 2004 at 9:51 am
  • Hi I'm not sure, who to blame about this one, but I run against a memory leak if I run the following code: *** $html = "foo"; $options = array("char-encoding" = "utf8"); $tidy = new tidy(); $tidy- ...
    Christian StockerChristian Stocker
    Jun 8, 2004 at 10:31 am
    Jun 8, 2004 at 2:59 pm
  • Hi, I ported Hardened-PHP to PHP5 yesterday night and got into the problem that there were some crashes. While one of the crashes is a problem in the port (at least I guess so), the other one was a ...
    Stefan EsserStefan Esser
    Jun 2, 2004 at 11:41 am
    Jun 3, 2004 at 7:21 pm
  • Hello, I've already reported this to the list some time ago, but nobody answered me until now. I think that the idate function has two little problems: 1) (i)date('L') should return the same (1 if is ...
    Nuno LopesNuno Lopes
    Jun 24, 2004 at 10:11 am
    Jun 28, 2004 at 2:38 pm
  • It's simpler to just use the ap_r* interfaces in the the handler SAPI for 2.0, this improves network usage by allowing httpd to buffer as necessary, and fixes a bug where ub_write is unnecessarily ...
    Joe OrtonJoe Orton
    Jun 18, 2004 at 10:30 am
    Jun 25, 2004 at 1:02 pm
  • Would anyone with Zend karma care to commit this ? -- Ard Index: zend_builtin_functions.c =================================================================== RCS file: ...
    Ard BiesheuvelArd Biesheuvel
    Jun 17, 2004 at 9:20 am
    Jun 18, 2004 at 8:08 pm
  • Morning, will we have a RC4 or will we simply release the current HEAD as PHP5? In the last 2 days lots of 64 bit issues were fixed. Stefan
    Stefan EsserStefan Esser
    Jun 18, 2004 at 6:02 am
    Jun 18, 2004 at 5:37 pm
  • My versions of strspn() & strcspn() use faster and clear algorithm. Below I provide simple test application, which compares speed and results of old strspn() with new one & unified diff in the ...
    Alexander ValyalkinAlexander Valyalkin
    Jun 15, 2004 at 12:49 pm
    Jun 16, 2004 at 1:45 pm
  • Here is patch for basename() function, which prevents possible memory access violation: =========cut========= --- string.c Thu May 13 20:44:32 2004 +++ string_basename.c Mon Jun 14 20:43:33 2004 @@ ...
    Alexander ValyalkinAlexander Valyalkin
    Jun 14, 2004 at 5:52 pm
    Jun 16, 2004 at 8:24 am
  • Right now, if you're using the pre-built Windows binaries, you can use cURL to make an SSL request, but you can't use an https stream. I'm guessing from this that OpenSSL is already on the box that ...
    Adam Maccabee TrachtenbergAdam Maccabee Trachtenberg
    Jun 9, 2004 at 8:48 pm
    Jun 10, 2004 at 5:29 pm
  • I know I can just cast to int, but is it ok to return an string for things that can only be numbers? <?php // imagine today is sunday var_export(date('w') === 0); ? prints false, but I expected it to ...
    DharanaDharana
    Jun 8, 2004 at 5:41 pm
    Jun 10, 2004 at 12:00 pm
  • Hi, Are we going to keep supporting the old build system now we don't need it anymore to generate the Windows binaries. As far as Interbase is concerned, it needs to be either updated or removed, and ...
    Ard BiesheuvelArd Biesheuvel
    Jun 7, 2004 at 4:42 pm
    Jun 8, 2004 at 12:07 am
  • I came accross behaviour in http_build_query() which was thoroughly unexpected. first a little background: I am using http_build_query() which is turning out to be very useful for putting together ...
    Jochem MaasJochem Maas
    Jun 2, 2004 at 5:46 pm
    Jun 4, 2004 at 2:15 pm
  • Hi, This post is about some general considerations about inexpediencies regarding safe_mode and documentation. This is not about the fundamental flaws regarding safe_mode, but rather some unfortunate ...
    Peter BrodersenPeter Brodersen
    Jun 30, 2004 at 5:15 pm
    Jul 1, 2004 at 6:30 am
  • Hi all. I've started poking/hacking around in the Zend source trying to implement code coverage statistics for php files. The end goal is to build php with a coverage option, place it on a test ...
    Michael LuuMichael Luu
    Jun 30, 2004 at 2:52 am
    Jun 30, 2004 at 5:22 am
  • PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (828 total including feature requests) ===============================================[*Compile Issues]============== 28385 Open ...
    InternalsInternals
    Jun 7, 2004 at 7:00 am
    Jun 28, 2004 at 9:17 am
Group Navigation
period‹ prev | Jun 2004 | next ›
Group Overview
groupphp-internals @
categoriesphp
discussions134
posts653
users146
websitephp.net

146 users for June 2004

Andi Gutmans: 46 posts Derick Rethans: 42 posts Alexander Valyalkin: 41 posts Lester Caine: 20 posts Sara Golemon: 19 posts Marcus Boerger: 16 posts Stefan Esser: 16 posts Derrell Lipman: 14 posts Antony Dovgal: 14 posts Rasmus Lerdorf: 14 posts Ard Biesheuvel: 13 posts Hans Lellelid: 13 posts Ilia Alshanetsky: 11 posts Steph: 11 posts Curt Zirzow: 10 posts Florian Schaper: 10 posts Bert Slagter: 9 posts Christian Schneider: 9 posts Gabor Hojtsy: 9 posts George Schlossnagle: 9 posts
show more
Archives