Авторизация
 Регистрация   Войти   Забыли пароль? 

Variables. PHP Code Demarcation

:: English Support Forums :: PHP-Fusion Coding Coding Style :: Variables. PHP Code Demarcation
Admin  Распечатать сообщение

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in E:\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 E:\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 E:\OpenServer\domains\php-fusion.vveb.ws\includes\bbcodes\search_bbcode_include.php on line 39
PHP code must always be delimited by the full--Ѓ] form, standard PHP tags:

1. <?php
2.
3. ?>


Short tags or not adding ?> at the end of a PHP .le are never allowed.
String Literals
When a string is literal (contains no variable subsEtuEons), "double quotes" should always be used
to demarcate the string:
Загрузить источник  PHP
  1. <?php
  2.  $a = "Example String";
  3. ?>


Изменил(а) Admin , 04.06.2013 21:10:54
  Опубликовано 04.06.2013 21:08:32 
 Перейти на форум:   
HTML-code and BB-code for blogs and forums

<a href="https://php-fusion.vveb.ws/forum/viewthread.php?thread_id=158">Variables. PHP Code Demarcation : Variables. PHP Code Demarcation</a>


[url=https://php-fusion.vveb.ws/forum/viewthread.php?thread_id=158]Variables. PHP Code Demarcation : Variables. PHP Code Demarcation[/url]

Голосования
Нравятся правила?
Всего голосов : 3
Перейти в ветку