javascriptでよく使われる即時関数をPHPでやる方法。
<?php
call_user_func(function ($v) {
echo $v;
}, "aaaa");
?>
Go to list of users who liked
More than 5 years have passed since last update.
javascriptでよく使われる即時関数をPHPでやる方法。
<?php
call_user_func(function ($v) {
echo $v;
}, "aaaa");
?>
Register as a new user and use Qiita more conveniently
Go to list of users who liked