On Sun, Mar 18, 2012 at 2:18 PM, Tim Streater t...@clothears.org.uk wrote:
On 18 Mar 2012 at 17:46, Simon J Welsh si...@welsh.co.nz wrote:
This is expected. The error doesn't occur to the second file is included, so
everything in the first included file is parsed and run before execution is
After recently omitting a semicolon from the end of a statement, and having the
result be a JavaScript error in an odd place, I'm trying to pin down just what
PHP does with such errors. I made a small test script to run at CLI, which does
some echoes and then, after that, I miss out a
On 19/03/2012, at 6:32 AM, Tim Streater wrote:
After recently omitting a semicolon from the end of a statement, and having
the result be a JavaScript error in an odd place, I'm trying to pin down just
what PHP does with such errors. I made a small test script to run at CLI,
which does some
On 18 Mar 2012 at 17:46, Simon J Welsh si...@welsh.co.nz wrote:
This is expected. The error doesn't occur to the second file is included, so
everything in the first included file is parsed and run before execution is
halted.
Simon,
Thanks for that. Looks like I should be able to catch most
Hi there,
I just installed PHP 5.2 on a linux server (compiled from source), and
am having some strange problems with a script that is reporting a fatal
parse error:
Parse error: syntax error, unexpected $end in /xxx/xxx/xxx/functions.php
on line 1213
This very script parses just
On Tue, November 7, 2006 11:30 am, Michael Caplan wrote:
I just installed PHP 5.2 on a linux server (compiled from source), and
am having some strange problems with a script that is reporting a
fatal
parse error:
Parse error: syntax error, unexpected $end in
/xxx/xxx/xxx/functions.php
on
To: Michael Caplan
Cc: php-general@lists.php.net
Subject: Re: [PHP] Parse Errors with 5.2 on Linux
On Tue, November 7, 2006 11:30 am, Michael Caplan wrote:
I just installed PHP 5.2 on a linux server (compiled from source), and
am having some strange problems with a script that is reporting a
fatal
parse
Richard Lynch wrote:
I never have understood why it was kosher to leave the final ? off,
for example, so maybe that changed. :-) [I doubt it]
Certainly hasn't changed, and I hope it never does. Having to find an
errant space or carriage return at the end of an include file that is
one of
On Tue, 2006-11-07 at 21:18 +, Stut wrote:
Richard Lynch wrote:
I never have understood why it was kosher to leave the final ? off,
for example, so maybe that changed. :-) [I doubt it]
Certainly hasn't changed, and I hope it never does. Having to find an
errant space or carriage
I am a PHP beginner so this error may be a stupid one. Anyway, I'm
trying to write a simple addition script. The client enters two numbers,
then my script (adder.php) adds them. However, when the script is run, I
get Parse Error On Line 3 I have no idea exactly what I have done wrong.
Here is the
Andy,
I am a PHP beginner so this error may be a stupid one. Anyway, I'm
trying to write a simple addition script. The client enters two numbers,
then my script (adder.php) adds them. However, when the script is run, I
get Parse Error On Line 3 I have no idea exactly what I have done wrong.
I'm getting a parse error with this PHP statement:
?php $path = '/usr/local/plesk/apache/vhosts/.../httpdocs/thumbnails/';
$dir = opendir($path) or die(Could not open $dir);
while ($file = readdir($dir)){
if (stristr($file, 'jpg') || stristr($file, 'jpeg')){
echo A
*This message was transferred with a trial version of CommuniGate(tm) Pro*
Hi,
I am sorry I ask this for a second time.
Come on guys ! I am sure somebody can help, please
I set my own error handler. It is in a file general_includes.php
(please find it below) and all pages do a require on
[EMAIL PROTECTED]
Sent: Monday, April 29, 2002 5:37 PM
Subject: [PHP] parse errors not displayed (2nd time I ask!)
*This message was transferred with a trial version of CommuniGate(tm) Pro*
Hi,
I am sorry I ask this for a second time.
Come on guys ! I am sure somebody can help, please
I set
14 matches
Mail list logo