Welcome Guest, Not a member yet? Register   Sign In
[split] Strict typing
#2

(03-20-2017, 07:00 PM)John_Betong Wrote: If there is ever another version before CI4 is released, please amend the following:
PHP Code:
<?php
// file: index.php 

declare(strict_types=1); // PHP 7 specific

ini_set('display_errors','true'); 

Many thanks for the update and look forward to trying it today Smile


Forcing everyone to use strict typing is not well thought out. Personally, I enjoy PHP's default behavior. Practically, CodeIgniter being easy to use for newbs doesn't mix well with features that require that they actually know what they're doing. That one line of code also has the ability to totally break existing apps that are being upgraded. It'd be the nightmare upgrade for sure.
Reply


Messages In This Thread
[split] Strict typing - by John_Betong - 03-20-2017, 07:00 PM
RE: CodeIgniter 3.1.4 released - by skunkbad - 03-21-2017, 09:40 PM
RE: CodeIgniter 3.1.4 released - by John_Betong - 03-21-2017, 10:18 PM
RE: CodeIgniter 3.1.4 released - by skunkbad - 03-21-2017, 10:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB