[PHP-DEV] readfile() suggestion

2002-11-22 Thread Steve Alberty
Hi, i've a small suggestion to improve the behavior of the readfile() function. First, since the command use the php streams, sometimes php crashes, especially with big files (>10MB). Also, if you output a file with readfile(), the memory consumption is excacly the same as the reading file. I

[PHP-DEV] Changelog broken?

2002-11-11 Thread Steve Alberty
Hi, the Changelog file in the php4 cvs tree is unchanged since 7 days. Is the script (cvs2cl ?) broken? Regards, Steve -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] html_error related to phpinfo() output

2002-10-29 Thread Steve Alberty
Hi, why result the functions phpinfo() and phpcredits() as plain text when i set the html_error = Off. I think this is not the correct behavior, or not? Regards, Steve -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] pcntl_signal problem

2002-10-25 Thread Steve Alberty
Hi, i've a small problem with the signal handler. These short script demonstrate my problem. #!/usr/local/bin/php The problem is, that the script doesnt exit when i'm sending the TERM signal or pressing CTRL-C (INT signal). I've test it with the lastest cvs version. Any help? Regards, Ste

[PHP-DEV] Upload broken?

2002-10-24 Thread Steve Alberty
Hi, is in the cvs tree the file upload currently broken? I miss the $_FILES['myfile'] variables. Regards, Steve -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] file_register_wrapper not binary safe?

2002-09-05 Thread Steve Alberty
hi, i've made some tests with file_register_wrapper and a possible "my-own-get-from-variable-instead-of-file-handle" wrapper, but i think that the stream_open function handler is not binary safe. Here a small code snip to demonstrate the problem: data=substr($path,11); $this->da

[PHP-DEV] Predefined Classes in Zend2

2002-08-17 Thread Steve Alberty
Hi, is it possible that predefined classes no longer working in zend2 engine ? eg: in zend1: the incomplete message is written: Fatal error: The script tried to execute a method or access ... correct, but in zend2: object(__PHP_Incomplete_Class)(0) {} also the same example with ming: in z

[PHP-DEV] zend_hash_find,Z_OBJPROP and Zend2

2002-08-15 Thread Steve Alberty
Hi, i have problems with ming and the new zend2engine. Is it not possible to detect zend objects about the zend_hash_find method with the new zend engine? e.g.: in ming.c SWFgetProperty() zend_hash_find cant locate the objects which is defined with $movie=new SWFMovie(); (swfmovie_init())

[PHP-DEV] Re: Pass by reference

2002-07-23 Thread Steve Alberty
Yes, see bug #14237 http://bugs.php.net/bug.php?id=14237 or http://phpxpath.sourceforge.net/benchmark/phpBench.php Regards, Steve -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: staybyte

2002-07-04 Thread Steve Alberty
Hi, i need cvs access, because i'm currently in the ming developer group and i have improve some functions in this extension and some adjustments of ming.c are required in the near future. Ming is currently very experimental and i hope i can improve the state. Also i'll complete the incompl

[PHP-DEV] callback in classes?

2002-07-03 Thread Steve Alberty
Hi, how can i use a callback function in preg_replace_callback or set_error_handler; with functions in classes? e.g: What's the right syntax? Regards, Steve -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] TSRM Problem with dmalloc

2002-07-01 Thread Steve Alberty
Hi, when i compile php with dmalloc (because i develop an own extension), php crashes in combination with apache 2, but i think this is not a problem with apache 2 or with dmalloc. Maybe it is a problem with the --with-config-file-path option. I have set it to /etc/debug/php.ini ... here is the

[PHP-DEV] compile with cURL,ming,.. and apxs2 breaks

2001-10-03 Thread Steve Alberty
compile with cURL,ming,.. and apxs2 breaks Hi, What's wrong? Is the development on apache2 sapi stop? The current compile breaks if --with-apxs2 with Apache 2.0.26dev (prefork) is use with the follow configure options: --with-curl=shared,/usr/local/curl/current curl.c: In functi

[PHP-DEV] GD seg fault on save: (bt) - 2.gd [1/1]

2001-09-26 Thread Steve Alberty
begin 755 2.gd M__\`%0`:`?]_?W]_?W]_?W__ M__]_=>[!P']_?W]_?W]_?___ M_W]_?W]_?W]_?W]A\M+1 M+_7:V17LNKA'WHJ'>=EVJJ']_?W]_?___ M_W]_?W]_?W/BEY0`Y

[PHP-DEV] GD seg fault on save: (bt) - 2.gd [0/1]

2001-09-26 Thread Steve Alberty
Hi, i have create a gd image with the gd tools and the follow code produces a seg fault. The problem is _not_ ImageJPEG! You can reproduce the problem also with ImagePNG. here is the backtrace: Program received signal SIGSEGV, Segmentation fault. gdImageJpegCtx (im=???, outfile=???, qu

[PHP-DEV] chunk_split seg fault: bt

2001-09-26 Thread Steve Alberty
Hi, chunk_split in the follow code snip produces sometimes a seg. fault. Here is the backtrace, i hope it helps a little bit: Program received signal SIGSEGV, Segmentation fault. 0x400cb007 in memcpy (dstpp=0x81926e0, srcpp=0x81922a8, len=135878960) at ../sysdeps/generic/memcpy.c:55 55