Re: [PHP4BETA] 'return' crash on Mac OS X Server with PHP 4.0b3

From: Date: Sun, 13 Feb 2000 03:29:21 +0000
Subject: Re: [PHP4BETA] 'return' crash on Mac OS X Server with PHP 4.0b3
Groups: php.version4 
Request: Send a blank email to php-version4+get-10202@lists.php.net to get a copy of this message
On Saturday, February 12, 2000 at 11:39:18 AM, Jon Jensen wrote: > The only change I had to make to get PHP 4.0b3 to compile under Mac OS X > Server was to change line 232 of php.h from: > > #if (!HAVE_SNPRINTF) #if !define(HAVE_SNPRINTF) is the 'portable' proper syntax (#ifndef is supposedly portable too, but not as proper) > > to > > #ifndef HAVE_SNPRINTF > > I don't know much about the C preprocessor, but it seems to make sense and > another guy who ported 3.0.11 did the same thing. However, maybe that's > the problem. The original code causes a 'parse error', thus the need for a > change. > > Does anyone know why that 'return' isn't working? These also fail: > > return "$j like $b"; > return $j . $b; > > I've never used gdb (or any other debugger) but am willing to learn if > it'll help. > > Jon Jensen > > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net > -- Michael Loftis ICQ: 15648280 AIM: DyJailBait Funny quip of the moment just happens to be.... Linux is like a tent: no gates, no windows, and an Apache inside!

« previous php.version4 (#10202) next »