ZEND_NS_NAMED_FE is clearly a frequently used macro

From: Date: Tue, 21 May 2013 17:45:57 +0000
Subject: ZEND_NS_NAMED_FE is clearly a frequently used macro
Groups: php.internals 
Request: Send a blank email to internals+get-67453@lists.php.net to get a copy of this message
It's time to play "Spot the double quoting!" #define ZEND_NS_FENTRY(ns, zend_name, name, arg_info, flags) ZEND_RAW_FENTRY(ZEND_NS_NAME(ns, #zend_name), name, arg_info, flags) #define ZEND_NS_NAMED_FE(ns, zend_name, name, arg_info) ZEND_NS_FENTRY(ns, #zend_name, name, arg_info, 0) ZEND_NS_NAMED_FE("foo", bar, ...) Gets exported to userspace as: foo\"bar" which is obviously fail. Any objections to my fixing ZEND_NS_NAMED_FE as: s/#zend/zend/ ? -Sara

« previous php.internals (#67453) next »