Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in F:\OpenServer\domains\php-fusion.vveb.ws\includes\bbcodes\mail_bbcode_include.php on line 20
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in F:\OpenServer\domains\php-fusion.vveb.ws\includes\bbcodes\mail_bbcode_include.php on line 21
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in F:\OpenServer\domains\php-fusion.vveb.ws\includes\bbcodes\search_bbcode_include.php on line 39
Associative Arrays PHP-Fusion Coding Style PHP-Fusion version 7.02.00
When declaring associaEve arrays with the Array construct, the iniEal array item must begin on
the following line. It should be padded at one indentaEon level greater than the line containing the
array declaraEon, and all successive lines should have the same indentaEon; the closing parent
should be on a line by itself at the same indentaEon level as the line containing the array
declaraEon. For readability, the various "=>" assignment operators should be padded such that
they align.
PHP
<?php
$sampleArray=array(
firstKey=>"firstValue",
secondKey=>"secondValue",
);
?>
We require using a trailing comma for the last item in the array; this minimises the impact of
adding new items on successive lines, and helps to ensure no parse errors occur due to a missing
comma.
Изменил(а) Admin , 04.06.2013 21:00:31