[PHP-DEV] class constants bugs

2003-09-29 Thread Cristiano Duarte
1) This code: results in this error: PHP Fatal error: Unsupported operand types in /test.php on line 13 Shouldn't class constants support simple expressions ? 2) Also, this code: Results in segmentation fault. Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To uns

RE: [PHP-DEV] Re: Fwd: Re: #25494 [Com]: array_merge allowing "false" as argument (silent when non-array is passed)

2003-09-29 Thread Mike Robinson
Jay Smith wrote: > As near as I can tell, leaving it in seems to be the way to go at the > moment. Being as they're E_NOTICEs and not full-on E_WARNINGs and the fact > that the actual behaviour of the function hasn't changed (except, of > course, the E_NOTICEs), it seems to be a good reminder t

Re: [PHP-DEV] Re: Fwd: Re: #25494 [Com]: array_merge allowing "false" as argument (silent when non-array is passed)

2003-09-29 Thread Jay Smith
Jan Schneider wrote: > I *love* it when threads silently die. ;-) > > Will this problem actually adressed by anyone or will we again have to > release new versions of our software just because a minor PHP came out or > deal with a huge amount of user complaints? > Yeah, it kind of just trailed

Re: [PHP-DEV] Segfault in HEAD & PHP_4_3 (and possible patch)

2003-09-29 Thread Antony Dovgal
On Wed, 24 Sep 2003 20:18:28 +0100 (BST) Wez Furlong <[EMAIL PROTECTED]> wrote: > The memory manager will deliberately segfault if an allocation fails in a debug > build. > > Having said that, your patch seems ok anyway. hmmm.. patch is ok, but still not commited =\ --- WBR, Antony Dovgal aka t

[PHP-DEV] Re: PHP Extension and Windows Common Dialogs

2003-09-29 Thread Pete Dishman
Hi, As Frank suggested, I tried using php_win.exe to call my test script with and I still got exactly the same results, namely the dialog boxes would not appear. In my extension I have other functions that wrap things such as the Win32 MessageBox() functions and the 'Browse for a folder' function

Re: [PHP-DEV] Change var_dump to return information

2003-09-29 Thread Antony Dovgal
On Sun, 28 Sep 2003 23:51:12 +0200 "Dennis Sterzenbach" <[EMAIL PROTECTED]> wrote: > Hi, > > I got in mind, that it might be interesting for debug purpose, > to obtain information like the output of var_dump() to a string. > > Really would be nice being able to have something like > $debug_inf