? bwin时时彩平台地址:PHP :: Bug #551 :: Odd if - 时时彩高手qq - 时时彩四星做号软件
www.noteop.com |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #551 Odd if-时时彩高手qq
Submitted: 1998-07-14 08:29 UTC Modified: 1998-07-14 18:20 UTC
From: mlemos at acm dot org Assigned: zeev (profile)
Status: Closed Package: Parser error
PHP Version: 3.0 Final Release OS: Amiga OS 3.1
Private report: No CVE-ID: None
 [1998-07-14 08:29 UTC] mlemos at acm dot org
How come this gives a parsing error,

$locale="en";
 
if($locale!="")
{
 if(file_exists("locale-$locale.php"))
  include("locale-$locale.php");
 else
  $bugs_debug("The include file for locale \"$locale\" does not exist!\n");
}

and this doesn't?

$locale="en";
 
if($locale!="")
{
 if(file_exists("locale-$locale.php"))
 {
  include("locale-$locale.php");
 }
 else
  $bugs_debug("The include file for locale \"$locale\" does not exist!\n");
}

bwin时时彩平台地址

Add a Patch

bwin时时彩平台地址:Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-14 18:20 UTC] zeev
This is a known behavior.  The reason is that right now
include and require are *identical* to actually replacing
them with the contents of the file they're including.
So, if that file includes more than one statement, the
script becomes

if (...)
   stmt1
   stmt2
   ...
else
   ...

which is not valid.

Use curly brackets around include, require and eval statements.
 
Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC
重庆时时彩平台彩金 时时彩平台招代理1950 九龙城时时彩 时时彩合买平台骗局 上海时时彩走势图
时时彩必出两码技巧 江西时时彩代售点 时时彩直选终极版 内蒙古时时彩快三 时时彩k线图手机版
先知电子狗升级软件 最可靠的时时彩平台 重庆时时彩软件专家 江西时时彩 时时彩二星遗漏统计
时时彩趋势为王定制 吉林时时彩11选5 旺旺时时彩软件下载 江西时时彩怎么不开了-上牔採网 重庆时时彩会不会作假