!!!!!!
» Nullable types
» Void return type
» Iterable pseudo-type
» Class constant visiblity modifiers
» Square bracket syntax for list() and the ability to specify keys
in list()
» Catching multiple exceptions types
PHP3.0ͷphp.ini-distʢൈਮʣ
[PHP_3]
engine = On ; enable PHP 3.0 parser
short_open_tag = On ; allow the tag. otheʙ
precision = 14 ; number of significant dʙ
y2k_compliance = Off ; whether to be year 2000ʙ
safe_mode = Off
safe_mode_exec_dir =
max_execution_time = 30 ; Maximum execution tiʙ
memory_limit = 8388608 ; Maximum amount of meʙ
error_reporting = 7
Slide 23
Slide 23 text
PHP7ͷiniʢൈਮ
[PHP]
engine = On
short_open_tag = Off
precision = 14
serialize_precision = 17
zend.enable_gc = On
expose_php = On
max_execution_time = 30
max_input_time = 60
memory_limit = 128M
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
ུ
engine = On
expose_php = On
max_execution_time = 30
max_input_time = 60
৭ʑ͋Δ͚Ͳɺେ͜ΕͰΑ͍✅
default_charset = "UTF-8" ; Content-Type ͷσϑΥϧτ
internal_encoding = "UTF-8"
[mbstring]
mbstring.language = Japanese
mbstring.internal_encoding = "UTF-8"
mbstring.strict_detection = On
Slide 189
Slide 189 text
༨ஊ(ʁ)ʮdefault_charsetͱҰମ…ʯ
; Use of this INI entry is deprecated, use global internal_encoding instead.
; internal/script encoding.
; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
;mbstring.internal_encoding =
» ʮmbstring.internal_encodingͱ͔࣌Εɺ
࣌default_charsetҰՕॴͰ͓̺!!!ʯ
» ࢲʮʔͦ͏ͳΜͩʯ
ͳ͓ɺphp7.1͜ͷΑ͏ʹγϯϓϧʹͳͬͨ
» php.iniͷσϑΥϧτͩͱޙํޓੑͷͨΊʹ26จࣈʹͳ͍ͬͯΔ
͕ɺͬͱͷͨ͠΄͏͕͍͍ͧͱ͍͏͜ͱΒ͍͠ɻ
; Shorter length than default is supported only for compatibility reason.
; Users should use 32 or more chars.
; Default Value: 32
; Development Value: 26
; Production Value: 26
session.sid_length = 26