On Thu, Sep 16, 2010 at 10:35 PM, Stas Malyshev smalys...@sugarcrm.com wrote:
Hi!
const foo = function () use ($globalVar) {
};
How would you call this thing? foo()? Then you have a problem - foo()
already has meaning, and it's call function named foo, not get constant
named foo and call
On Sat, Sep 18, 2010 at 1:37 AM, Matthew C. Rice mr...@rcs.us wrote:
Hello,
I was wondering how early a zend_eval_string call can be made. Currently
it works fine in a PHP_FUNCTION(), but was hoping to put it in a PHP_MINIT()
in hopes of it just executing once.
It seems PHP_MINIT() is
I have recently tried registering a class (via zend_register_class) inside of a
PHP_FUNCTION, though this may sound weird and an unecessary function I ask that
you ignore this request.I have noticed that registering goes fine but every
time I declare a class after the call to my function,