Translate text Text
Translate documents Doc.
Interpreter Voice
Japanese
eval
English
Instantly translate texts, documents and voice with Lara
From professional translators, enterprises, web pages and freely available translation repositories.
Add a translation
Last Update: 2011-05-19 Usage Frequency: 2 Quality: Reference: Wikipedia
例 1 eval() の例 - 簡単なテキストのマージ
?php $string = 'cup'; $name = 'coffee'; $str = 'this is a $string with my $name in it. br'; echo $str; eval ("\$str = \"$str\" ;"); echo $str;?
Last Update: 2011-10-24 Usage Frequency: 1 Quality: Reference: WikipediaWarning: Contains invisible HTML formatting
eval() の中で値を与えた変数は、 この後、メインスクリプトの中でもこれらの値を維持することも 覚えておいて下さい。
a return statement will terminate the evaluation of the string immediately.
Last Update: 2011-10-24 Usage Frequency: 1 Quality: Reference: Wikipedia
eval() は、 code_str で与えられた文字列を php コードとして評価します。 中でも、データベースのテキストフィールドにコードを保存し、 後で実行するためには便利です。
among other things, this can be useful for storing code in a database text field for later execution.
Accurate text, documents and voice translation