Re: About restricting the recursive implicit calls

From: Date: Mon, 25 Feb 2013 18:33:14 +0000
Subject: Re: About restricting the recursive implicit calls
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-66210@lists.php.net to get a copy of this message
Am 25.2.2013 um 19:10 schrieb Stas Malyshev <smalyshev@sugarcrm.com>: > Hi! > >> Yes, but you can do an approximation. And in 99.999% of the cases 100 >> will be enough. I can hardly imagine a case where you need to do over >> 100 implicit function calls. They should fit in every normal stack size of >> servers today. > > Depth-first search in a modest-size data structure would easily go over > 100. But if you need it, xdebug already has this option. > > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php No, no, ... You may use recursive functions (which are limited by the memory_limit), but if you use recursive magics, it's a design error. This is not the purpose of magics (, call_user_func(_array)?) and simply an abuse of the language. Bob

« previous php.internals (#66210) next »