CodeIgniter Forums
PHP 7.2 released - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: General (https://forum.codeigniter.com/forum-1.html)
+--- Forum: News & Discussion (https://forum.codeigniter.com/forum-2.html)
+--- Thread: PHP 7.2 released (/thread-69484.html)

Pages: 1 2 3 4


RE: PHP 7.2 released - InsiteFX - 05-24-2018

PHP 7.2.6 Was released today.


RE: PHP 7.2 released - arinfotech - 09-15-2018

now fonts issue not face into codeigniter last version . bcoz this problem has been solved into latest version


RE: PHP 7.2 released - InsiteFX - 09-15-2018

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>



RE: PHP 7.2 released - ebizzinfotech - 06-03-2019

No issues with CI3.1.6 so far. We Upgraded our XAMPP install to use 7.2 last night.


RE: PHP 7.2 released - nitin.d12 - 07-31-2019

(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


RE: PHP 7.2 released - John_Betong - 07-31-2019

(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;




RE: PHP 7.2 released - ericasanchez - 01-09-2021

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.