CodeIgniter Forums
[split] Strict typing (Should CI-4 require PHP 7.3 ?) - Printable Version

+- CodeIgniter Forums (
+-- Forum: CodeIgniter 4 (
+--- Forum: CodeIgniter 4 Discussion (
+--- Thread: [split] Strict typing (Should CI-4 require PHP 7.3 ?) (/thread-73025.html)

[split] Strict typing (Should CI-4 require PHP 7.3 ?) - John_Betong - 03-11-2019

It would be nice and make applications perform even faster if declare strict_types was used in the CI4 source script.

When strict _types is added numerous errors and warnings are shown resulting in the Php interpretor having to fall back to using the slower Php 4.0 type juggling tests in order to continue processing.

I have used a Php script to add strict_types to every source file and the errors and warnings are easily rectified so why not use this feature... which may be obligatory in future Php versions?