Skip to content
Discussion options

You must be logged in to vote

Hi @mathiasdg,

interesting observation! In theory that should work as usual, but who knows if the configuration of PHPs build in dev-server is a little different from production or not...

A couple of questions:

  1. Is the variable in the same file as the function?
  2. Does it work with global $tbd; inside the function?

What I can say for sure, we have been explicitly setting the globals like:

$GLOBALS['tbd'] = 'date has yet to be set';

That does work for sure.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mathiasdg
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #53 on March 09, 2025 22:32.