|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Petr Voinov Smarty n00b
Joined: 13 Jan 2010 Posts: 2
|
Posted: Fri Jan 22, 2010 11:24 pm Post subject: modifier.debug_print_var.php fault-recursion in objects [b7] |
|
|
the debug_print_var modifier fault on data like
php:
Code: | $user = new user();
$user->recursion_test = $user;
$this->View->assign('user',$user); |
tpl:
Code: | {$user|debug_print_var} |
the error is: Code: | Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71595 bytes) in ........\smarty\plugins\modifier.debug_print_var.php on line 46 |
Where usual php code shows:
Code: | user Object
(
..............
[recursion_test] => user Object
*RECURSION*
)
|
|
|
Back to top |
|
tomazws Smarty n00b
Joined: 21 Jun 2013 Posts: 1
|
Posted: Fri Jun 21, 2013 5:39 pm Post subject: |
|
|
Code: | {$user|@debug_print_var} |
|
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|