Unparenthesized `a ? b : c ? d : e` is not supported CodeIgniter 3 en XAMPP con PHP 8

Published: 23 April 2022
on channel: Programa con Kike
4,363
22

En este video te voy a mostrar como resolver el error de codeigniter 3 cuando se ejecuta con php 8

A PHP Error was encountered
Severity: Compile Error

Message: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`

Filename: helpers/url_helper.php

Line Number: 162

Backtrace:

AQUI LA SOLUCION
if (is_array($uri))
{
$uri2="";
if(preg_match('#^(\w+:)?//#i', $uri))
{
$uri2=$uri;
}
else{
$uri2=site_url($uri);
}
$site_url=$uri2;
}


Watch video Unparenthesized `a ? b : c ? d : e` is not supported CodeIgniter 3 en XAMPP con PHP 8 online without registration, duration hours minute second in high quality. This video was added by user Programa con Kike 23 April 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4,363 once and liked it 22 people.