uuid_create
パラメータを参照渡しする必要があります。
uuid_create(&$foo);
問題は、これによりエラーが発生することです。
Message: Call-time pass-by-reference has been deprecated
PHP 拡張機能はuuid-php.x86_64
古くなっていますか? PHP 5 とは「互換性」がありません。
これが重複していないことを強調したいだけです。
$foo = NULL;
uuid_create($foo);
生産します:
Type: Run-time warnings (non-fatal error).
Message: uuid_create(): uuid_create: parameter wasn't passed by reference