ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-Dev
php-Dev
Re: [PHP-DEV] Fwd: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_language_parser.y zend_language_scanner.l
by Sara Golemon other posts by this author
Jul 16 2004 5:09PM messages near this date
Re: [PHP-DEV] Fwd: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_language_parser.y zend_language_scanner.l | Re: [PHP-DEV] Fwd: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_language_parser.y zend_language_scanner.l
"Andi Gutmans" <andi@[...].com>  wrote in message
news:5.1.0.14.2.20040716081907.027efd68@[...]..
>  I don't think it's critical to include this patch, but I do think it'd be
a
>  good thing.
>  Do you really think it'll break BC for many applications? How many people
>  have functions that use null(), false(), true()?
> 
I know people hate the dreaded "ini option" word.  But how about one for
this?  That'd let the optimization work for the 99% of scripts that don't
need to implement null(), true(), and false(), and allow those rare few to
simply disable it for BC.

# Note: I'm no lexx expert, this syntax may not even make sense

<ST_IN_SCRIPTING> "TRUE" {
  if (CG(fast_constants)) {
    ZVAL_TRUE(zendlval);
    return T_TRUE;
  } else {
    yymore();
  }
 }

-Sara

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Sterling Hughes
Marcus Boerger
Sara Golemon
Andi Gutmans
Sterling Hughes
Derick Rethans
Sterling Hughes
Andi Gutmans
Sterling Hughes
dharana

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved