PHP7.2XXX 에서 PHP7.3XXX 으로 안전하게 업그레이드 하기

php7.3 will be updated automatically when updates become available. Alternatively you can build php7.3 from source in Ubuntu 18.04, but it will not be updated automatically, and it also takes more than an hour to build if you want to test it too.

참조 : https://forum.yiiframework.com/t/yii-1-1-21-and-php-7-2-19-issues/126343

Using Regular Expressions with PHP

소스: Using Regular Expressions with PHP

Regular Expression Will match… foo The string “foo” ^foo “foo” at the start of a string foo$ “foo” at the end of a string ^foo$ “foo” when it is alone on a string [abc] a, b, or c [a-z] Any lowercase letter [^A-Z] Any character that is not a […]

CodeIgniter / EllisLab

CodeIgniter / EllisLab.

PHP: var_dump – Manual

var_dump — Dumps information about a variable

via PHP: var_dump – Manual.

var_dump — Dumps information about a variable

array(3) { [0]=> int(1) [1]=> int(2) [2]=> array(3) { [0]=> string(1) “a” [1]=> string(1) “b” [2]=> string(1) “c” } }

특정폴더는 php 가 실행이 안되게 아파치 설정

<DirectoryMatch “^/.*/data/”> AddType application/x-httpd-php3-source .phps .php .ph .php3 .cgi .sh .pl .html .htm .shtml .vbs .ins AddType application/x-httpd-php-source .phps .php .ph .php3 .cgi .sh .pl .html .htm .shtml .vbs .ins <Files ~ “.*.ph$”> Order allow,deny Deny from all </Files>