You cannot remove those two. Because they are passed by reference and have no default value (default value for referenced args isn't even possible in PHP<5), they have to be specified. Also if you're not using them.
var_dump is more or less like echo, but also gives you the type of the variable (and also works for arrays). It's just to see if it works.
User Ranks
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: User Ranks
- we're poor!
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: User Ranks
- we're poor!
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: User Ranks
- we're poor!
Return to “phpBB Development discussion”
Who is online
Users browsing this forum: No registered users and 14 guests