Bug #71567 [Com]: php_random_bytes: called object is not a function

From: Date: Fri, 04 Mar 2016 11:22:49 +0000
Subject: Bug #71567 [Com]: php_random_bytes: called object is not a function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199590@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71567&edit=1 ID: 71567 Comment by: cyrus at safe-mail dot net Reported by: cyrus at safe-mail dot net Summary: php_random_bytes: called object is not a function Status: Open Type: Bug Package: Compile Failure Operating System: Solaris 11 (x86 and sparc) PHP Version: 7.0.3 Block user comment: N Private report: N New Comment: It seems PHP 7.0.4 works well on Solaris x86 (64bit). There will be no more Solaris Sparc builds in our environment. Thanks! Previous Comments: ------------------------------------------------------------------------ [2016-02-15 05:37:48] laruence@php.net it's weird, the comment fix seems not right. I can see the current codes is: /* Does the file exist and is it a character device? */ if (fstat(fd, &st) != 0 || # ifdef S_ISNAM !(S_ISNAM(st.st_mode) || S_ISCHR(st.st_mode)) # else !S_ISCHR(st.st_mode) # endif it's differnet :< ------------------------------------------------------------------------ [2016-02-11 09:58:39] cyrus at safe-mail dot net Description: ------------ Description: ------------ <path>/php-7.0.3/ext/standard/random.c: In function 'php_random_bytes': <path>/php-7.0.3/ext/standard/random.c:145:26: error: called object '20480' is not a function *** Error code 1 make: Fatal error: Command failed for target `ext/standard/random.lo' ---------- occurs only on Solaris (x86/sparc) works well on RHEL 6/7 Dublicates: #70999 php_random_bytes: called object is not a function Bug #70999 is still fixed. Please commit... There is no way for me to reopen the bug. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71567&edit=1

« previous php.bugs (#199590) next »