php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30286 sybase compile failure
Submitted: 2004-09-30 05:43 UTC Modified: 2004-10-25 21:02 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:0 (0.0%)
From: zhang at gdmc dot edu dot cn Assigned:
Status: Wont fix Package: Sybase (dblib) related
PHP Version: 5.0.2 OS: red-hat 7.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: zhang at gdmc dot edu dot cn
New email:
PHP Version: OS:

 

 [2004-09-30 05:43 UTC] zhang at gdmc dot edu dot cn
Description:
------------
/php-5.0.2/ext/sybase/php_sybase_db.c: In function 

`zif_sybase_fetch_object':
/php-5.0.2/ext/sybase/php_sybase_db.c:1112: invalid lvalue 

in assignment
/php-5.0.2/ext/sybase/php_sybase_db.c:1113: invalid lvalue 

in assignment
make: *** [ext/sybase/php_sybase_db.lo] Error 1

Expected result:
----------------
I want to solve this problem for use my sybase database.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-02 07:57 UTC] zoran dot pucar at medorian dot se
I'm getting the same error on Solaris 9 and both 5.0.0 and 5.0.2 version of PHP. (Sybase version is ASE 12.0)
 [2004-10-25 20:59 UTC] thekid@php.net
Use ext/sybase_ct, ext/sybase is unmaintained. If you're into hacking sourcecode, replace lines 1110 - 1114 with the following:

	if (Z_TYPE_P(return_value)==IS_ARRAY) {
		object_and_properties_init(
			return_value, 
			ZEND_STANDARD_CLASS_DEF_PTR, 
			Z_ARRVAL_P(return_value)
		);
	}

 [2004-10-25 21:02 UTC] thekid@php.net
Change bug summary and set to wontfix. Maybe there is somebody out there that wants to do this, but - as said - ext/sybase is unmaintained.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 11:01:30 2024 UTC