Welcome Guest, Not a member yet? Register   Sign In
PHP 7.2 released
#31

PHP 7.2.6 Was released today.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#32

(This post was last modified: 09-15-2018, 06:37 AM by ciadmin.)

now fonts issue not face into codeigniter last version . bcoz this problem has been solved into latest version
A R INFOTECH
No SEO spam
Reply
#33

For font issues try this added to your .htaccess file.

Code:
    # Add Font Types
    AddType application/vnd.ms-fontobject .eot
    AddType font/truetype .ttf
    AddType font/opentype .otf
    AddType font/opentype .woff
    AddType font/opentype .woff2
    AddType image/svg+xml .svg .svgz

    <FilesMatch ".(eot|ttf|otf|woff|woff2|svg|svgz)">
        Header set Access-Control-Allow-Origin "*"
    </FilesMatch>
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#34

No issues with CI3.1.6 so far. We Upgraded our XAMPP install to use 7.2 last night.
No SEO spam, per forum policy
Reply
#35

(12-01-2017, 08:35 AM)Narf Wrote: PHP 7.2 release announcement

In addition to the new features and other general improvements, it's even faster than 7.0 and 7.1! Go try it, and even upgrade to it if you can. Smile

Of course, if you encounter any CodeIgniter bugs related to it, you should also report them to us. So far there's only one known issue (an E_DEPRECATION notice in validate_email), which will be fixed in our next release.

Sessions not working between controllers after redirection . . . . Plz help  Huh
Reply
#36

(07-31-2019, 03:41 AM)nitin.d12 Wrote:
(12-01-2017, 08:35 AM)Narf Wrote: PHP 7.2 release announcement

In addition to the new features and other general improvements, it's even faster than 7.0 and 7.1! Go try it, and even upgrade to it if you can. Smile

Of course, if you encounter any CodeIgniter bugs related to it, you should also report them to us. 

I am a great believer in compiled languages because sloppy code prevents a successful compile. Google's Golang compiler is so strict it will not even compile if there are functions or variables declared and not used!!!

PHP was initially a very sloppy language and is now changing. To take fully advantage of the new features it is essential to use the new features which will reduce processing time. If only by a little bit Smile

It took me a couple of hours to create a PHP file to iterate through the ./system directory, add the strict declaration and remove all the errors and warnings.
 
I think this should be fixed now rather than later. Once done any additional scripting will fail fast and make debugging far easier.

Also best to declare function type parameters and return values:
PHP Code:
<?php 
declare(strict_types=1); // FILE WIDE declaration, NOT inherited with include/rquire
 
//==================================
Public function test
(
  object $conn  =  NULL,
  string $host  'localhost',
  string $user  'joe-blogs',
  string $pass  '123456',
  string $dbase 'myDataBase',
  string $table 'myTable'
)
:
bool // returned type validation
{
  $result FALSE;

  //...
  //...
  //...

  return $result;

Reply
#37

(This post was last modified: 01-10-2021, 02:49 PM by includebeer. Edit Reason: No spam allowed in signature )

I hope not having problems with this new release. I do not know the reason, but from time to time I have to clear cache. Otherwise the page does not work properly.
I will keep 7.0 in wordpress until it works no more.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB