Re: Fatal error runnaround.

From: Date: Thu, 26 Mar 2020 19:41:59 +0000
Subject: Re: Fatal error runnaround.
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-327078@lists.php.net to get a copy of this message
maybe using 'require_once(...)' ---------------------------------------------- Atentamente/Best regards Rafael Mora Cel/Mob: +58-414-493.31.39 Cel/Mob: +57-321-755.37.69 Twitter @titanve On Thu, Mar 26, 2020 at 2:38 PM Jeffry Killen <jekillen@prodigy.net> wrote: > Sorry: > > > > Fatal error: Cannot declare class _ASYNC_SAMPLER, because the name is > > already in use in /path/lab_8/php/asyncSamplerClass.php on line 14 > > I found out why this is occurring. There is another instance of requiring > the same source file > in another class def constructor function. It is in the _CS_FIND class > def. So the error is > probably from this even though the _CS_FIND instance is created AFTER the > call to require > that is causing the error. > JK

« previous php.general (#327078) next »