eval

( unknown )

eval -- Evaluate a string as PHP code

Description

mixed eval ( string code_str)

In PHP 4 , eval( ) returns FALSE unless return( ) is called in the evaluated code , in which case the value passed to return( ) In PHP 4 , eval( ) returns FALSE unless return( ) is called in the evaluated code , in which case the value passed to return( ) is returned .

דוגמה 1 . eval( ) example - simple text merge















טיפ : כמו בכל פעולה ששולחת פלט ישירות לדפדפן , אתה יכול להשתמש ב פונקציות שליטה בפלט על מנת ללכוד את הפלט של הפונקציה ולשמור אותו - לדוגמה - במשתנה מסוג מחרוזת .