see the code example below. If i run this on the vite dev server with this plugin, it prints null.
When i run this same code on my local apache server it prints the string as is should.
$tbd = 'date has yet to be set';
function formatDate(string $datum): string
{
var_dump($GLOBALS['tbd']);
...
}
Is this a bug? Or is there another way to use PHP globals with Vite?
Is there a workaround?
Thanks a lot!
Love the plugin
see the code example below. If i run this on the vite dev server with this plugin, it prints null.
When i run this same code on my local apache server it prints the string as is should.
Is this a bug? Or is there another way to use PHP globals with Vite?
Is there a workaround?
Thanks a lot!
Love the plugin