Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はこのような文字列を持っています、
$condition = "if($test == '1')";
を使わずに条件式に変換したいeval()。
eval()
出来ますか?
見てみる$functionName()か、call_user_func($functionName)
$functionName()
call_user_func($functionName)
More clarification.