eval() behaviour, was: [PHP-DEV] PHP 4.0 Bug #4973 Updated: moronic language designers
| From: | waldschrott | Date: | Tue, 13 Jun 2000 06:22:57 +0000 |
| Subject: | eval() behaviour, was: [PHP-DEV] PHP 4.0 Bug #4973 Updated: moronic language designers | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-21179@lists.php.net to get a copy of this message | ||
1.)No comment too, but one thing I would like to post as a bug is that
eval() does not produce informational error messages, if something went wrong in an eval() it produces "Parse error in unknown line 1" (or similar) - what if it would produce "Parse error in eval() #4 line 3"?
2.)if eval() would return a bool if the code executed it would be fine, I´ve to agree,
3.) even becasue there´s no function (I know) of, which parses a snipplet of code and returns if it is valid code (if there isn´t ill post this as a bug too)
regards
Bug Database wrote:
ID: 4973 Updated by: eschmid Reported By: spamlanzz@graffiti.net Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: No comment. Full Bug description available at: http://bugs.php.net/version4/?id=4973-- o----------0-¬---------O-·---¬----o---®-----o o O ° . | http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ ° · 0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © ° . · | psychedelic experience | gott@kiffen.de | O ° o ° o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·