http://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID
This link says that : When a device has multiple users (available on certain devices running Android 4.2 or higher), each user appears as a completely separate device, so the ANDROID_ID value is unique to each user.
http://developer.android.com/about/versions/android-4.2.html#MultipleUsers While this link says: Beware that if your app requests one of the hardware device identifiers (such as the WiFi MAC address, the SERIAL number, or the ANDROID_ID number), they will provide the same value for each user because these identifiers …
我有一台 32GB 的机器,运行超过 2000 个测试用例,使用 phpdbg 进行代码覆盖。
phpdbg -qrr -d memory_limit=-1./vendor/phpunit/phpunit/phpunit --debug --verbose
Run Code Online (Sandbox Code Playgroud)
运行一段时间后,它抛出以下错误甚至memory_limit是-1
map() 失败:[12] 无法分配内存 [PHP 致命错误:内存不足(已分配 5830606848)(尝试分配 65536 字节)]