|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [2002-05-15 14:09 UTC] mlong at mlong dot org
 In 4.2.1 I cannot get rsort or krsort to work. They worked fine in 4.1.2 with the same exact code. I've written a script which shows it in both versions. To view go to: http://www.mlong.org/test.php PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 23:00:01 2025 UTC | 
[php4-STABLE-200206010900] --enable-pcntl --enable-trans-sid --enable-ftp --without-mysql --enable-sockets --with-oci8=/usr/users/oracle/app/oracle/product/8.0.6 --without-mbstring noc03> make Making all in Zend yacc -p zend -v -d ./zend_language_parser.y -o zend_language_parser.c fatal error: invalid escape, or illegal reserved word: pure_parser, line 47 *** Exit 1 Stop. *** Exit 1 Stop. [php4-200206010900] --enable-pcntl --enable-trans-sid --enable-ftp --without-mysql --enable-sockets --with-oci8=/usr/users/oracle/app/oracle/product/8.0.6 --without-mbstring noc03> make /bin/cc -std0 -Iext/ctype/ -I/web/php4-200206010900/ext/ctype/ -DPHP_ATOM_INC - I/web/php4-200206010900/include -I/web/php4-200206010900/main -I/web/php4-200206 010900 -I/web/php4-200206010900/Zend -I/usr/users/oracle/app/oracle/product/8.0. 6/network/public -I/web/php4-200206010900/ext/xml/expat -I/web/php4-20020601090 0/TSRM -g -c /web/php4-200206010900/ext/ctype/ctype.c -o ext/ctype/ctype.o && echo > ext/ctype/ctype.lo /bin/cc -std0 -Iext/ftp/ -I/web/php4-200206010900/ext/ftp/ -DPHP_ATOM_INC -I/we b/php4-200206010900/include -I/web/php4-200206010900/main -I/web/php4-2002060109 00 -I/web/php4-200206010900/Zend -I/usr/users/oracle/app/oracle/product/8.0.6/ne twork/public -I/web/php4-200206010900/ext/xml/expat -I/web/php4-200206010900/TS RM -g -c /web/php4-200206010900/ext/ftp/php_ftp.c -o ext/ftp/php_ftp.o && echo > ext/ftp/php_ftp.lo /bin/cc -std0 -Iext/ftp/ -I/web/php4-200206010900/ext/ftp/ -DPHP_ATOM_INC -I/we b/php4-200206010900/include -I/web/php4-200206010900/main -I/web/php4-2002060109 00 -I/web/php4-200206010900/Zend -I/usr/users/oracle/app/oracle/product/8.0.6/ne twork/public -I/web/php4-200206010900/ext/xml/expat -I/web/php4-200206010900/TS RM -g -c /web/php4-200206010900/ext/ftp/ftp.c -o ext/ftp/ftp.o && echo > ext/f tp/ftp.lo /bin/cc -std0 -Iext/oci8/ -I/web/php4-200206010900/ext/oci8/ -DPHP_ATOM_INC -I/ web/php4-200206010900/include -I/web/php4-200206010900/main -I/web/php4-20020601 0900 -I/web/php4-200206010900/Zend -I/usr/users/oracle/app/oracle/product/8.0.6/ network/public -I/web/php4-200206010900/ext/xml/expat -I/web/php4-200206010900/ TSRM -g -c /web/php4-200206010900/ext/oci8/oci8.c -o ext/oci8/oci8.o && echo > ext/oci8/oci8.lo cc: Warning: /web/php4-200206010900/ext/oci8/oci8.c, line 1351: In this statemen t, the referenced type of the pointer value "memset(...)" is "signed char", whic h is not compatible with "struct declared without a tag". (ptrmismatch) statement = ecalloc(1,sizeof(oci_statement)); --------^ cc: Warning: /web/php4-200206010900/ext/oci8/oci8.c, line 2728: In this statemen t, the referenced type of the pointer value "memset(...)" is "signed char", whic h is not compatible with "struct declared without a tag". (ptrmismatch) define = ecalloc(1,sizeof(oci_define)); --------^ cc: Warning: /web/php4-200206010900/ext/oci8/oci8.c, line 3092: In this statemen t, & before array "buf" is ignored. (addrarray) while ((loblen = read(fp, &buf, sizeof(buf))) > 0) { ------------------------------------------^ cc: Warning: /web/php4-200206010900/ext/oci8/oci8.c, line 3093: In this statemen t, & before array "buf" is ignored. (addrarray) CALL_OCI_RETURN(connection->error, OCILobWrite( ------------------------^ cc: Error: /web/php4-200206010900/ext/oci8/oci8.c, line 4243: In this statement, "OCI_ATTR_STATEMENT" is not declared. (undeclared) CALL_OCI_RETURN(statement->error, OCIAttrGet( ------------------------^ cc: Warning: /web/php4-200206010900/ext/oci8/oci8.c, line 4830: In the initializ er for __s, the referenced type of the pointer value "(str)" is "unsigned char", which is not compatible with "signed char" because they differ by signed/unsign ed attribute. (ptrmismatch1) RETURN_STRINGL(str,strlen(str),1); ---------------------------^ *** Exit 1 Stop.