Bug #76236 [Com]: Compiler bug within multi dimentional array

From: Date: Wed, 18 Apr 2018 14:54:22 +0000
Subject: Bug #76236 [Com]: Compiler bug within multi dimentional array
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-214799@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76236&edit=1 ID: 76236 Comment by: spam2 at rhsoft dot net Reported by: onesong at gmail dot com Summary: Compiler bug within multi dimentional array Status: Not a bug Type: Bug Package: *Compile Issues Operating System: Windows 10 PHP Version: 5.6.35 Block user comment: N Private report: N New Comment: if you only would write readable code you wild see the problem with an eye-blink of at least use a proper IDE which shows you the closing braces when you point the cursor to a opening one there are 7 ( and you managed to miss THREE closing ) for that i don't need the PHP parser, my IDE is crying <?php $Themes = array ( "std" => array ( "cellspacing" => "0", "cellpadding" => "0", "tablestyle" => array ( "margin: 0px 0px; font: 20px arial, sans-serif;" ), "transw" => array ( "cellspacing" => "0", "cellpadding" => "0", "tablestyle" => array ( "margin: 0px 0px; font: 20px arial, sans-serif;" ), "matrix" => array ( "cellspacing" => "0", "cellpadding" => "0", "tablestyle" => array ( "margin: 0px 0px; font: 20px arial, sans-serif;" ) ); Previous Comments: ------------------------------------------------------------------------ [2018-04-18 14:43:07] requinix@php.net Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Count your parentheses. Install an IDE that has syntax highlighting support. There are many to choose from. ------------------------------------------------------------------------ [2018-04-18 14:41:19] onesong at gmail dot com Description: ------------ the script below gives this wrror I couldnt understand where the syntax error is perhaps and most probably is a error within the compiling code to this php version Parse error: syntax error, unexpected ';', expecting ')' in /srv/disk5/2354589/www/eternalglory.ga/index.php on line 7 Test script: --------------- public $Themes = array( "std" => array("cellspacing" => "0", "cellpadding" => "0", "tablestyle" => array("margin: 0px 0px; font: 20px arial, sans-serif;"), "transw" => array("cellspacing" => "0", "cellpadding" => "0", "tablestyle" => array("margin: 0px 0px; font: 20px arial, sans-serif;"), "matrix" => array("cellspacing" => "0", "cellpadding" => "0", "tablestyle" => array("margin: 0px 0px; font: 20px arial, sans-serif;") ); ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=76236&edit=1

« previous php.bugs (#214799) next »