Date: 09/26/00
- Next message: Jensen Tim-TAJENS1: "[phplib] HELP!!! Problem with Post Variables"
- Previous message: Laureano Llani: "[phplib] Parse error"
- In reply to: Arno A. Karner: "[phplib] first gotcha i found in php4, phplib"
- Next in thread: Arno A. Karner: "Re: [phplib] first gotcha i found in php4, phplib"
- Reply: Arno A. Karner: "Re: [phplib] first gotcha i found in php4, phplib"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
its a known feature:
http://www.php.net/version4/incompatibilities.php (second list item)
brian
----- Original Message -----
From: Arno A. Karner <karner <email protected>>
To: <phplib <email protected>>
Sent: Sunday, September 24, 2000 5:09 PM
Subject: [phplib] first gotcha i found in php4, phplib
> you can not break from loops from an included file you get the following
> error
> Fatal error: Cannot break/continue 1 levels in comsmt.inc on line 38
>
> example:
> while(1) {
> include "somefile.inc"
> // do loc stuff
> break;
> }
>
> and somefile.inc contains the following types of stuff
> if($Val=='next1') {
> $RecNo++;
> break; }
>
> so tsk tsk on me, it is rather poor programing but when your using an
> interpter and you say include it shopuldnt matter
>
> your milage may vary
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Jensen Tim-TAJENS1: "[phplib] HELP!!! Problem with Post Variables"
- Previous message: Laureano Llani: "[phplib] Parse error"
- In reply to: Arno A. Karner: "[phplib] first gotcha i found in php4, phplib"
- Next in thread: Arno A. Karner: "Re: [phplib] first gotcha i found in php4, phplib"
- Reply: Arno A. Karner: "Re: [phplib] first gotcha i found in php4, phplib"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

