Welcome Guest, Not a member yet? Register   Sign In
Using numerically indexed arrays in .env file
#5

PHP Code:
public $threshold = [1234]; 

PHP Code:
logger.threshold.0 1  // You can set the value because the element exists
logger.threshold.1 2  // You can set the value because the element exists
logger.threshold.2 3  // You can set the value because the element exists
logger.threshold.3 4  // You can set the value because the element exists
logger.threshold.4 8  // You cannot add the element 
Reply


Messages In This Thread
RE: Using numerically indexed arrays in .env file - by kenjis - 02-03-2024, 05:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB