• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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
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;

CI4 Develop Site - progressing nicely - Thank you Smile
https://johns-jokes.cf/pictures

Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.