[PHP-BUG] Bug #52433 [NEW]: Call to undefined method mysqli::poll()

2010-07-24 Thread admin at webdesignforall dot net
From: 
Operating system: Debian 5
PHP version:  5.3.3
Package:  MySQLi related
Bug Type: Bug
Bug description:Call to undefined method mysqli::poll()

Description:

The static method mysqli::poll doesn't exist. Using it creates a Fatal
error: Call 

to undefined method mysqli::poll() .



mysqli_poll works fine.

Test script:
---
query("SELECT 'test'", MYSQLI_ASYNC);

$done=false;

do

{

  $links = $errors = $reject = array();

  $links[] = $errors[] = $reject[] = $link1;

  if (!mysqli::poll($links, $errors, $reject, 1)) {

continue;

}

if ($result = $links[0]->reap_async_query()) {

$done=true;

}

}

while(!$done);



Expected result:

No output.

Actual result:
--
Fatal error: Call to undefined method mysqli::poll() 

-- 
Edit bug report at http://bugs.php.net/bug.php?id=52433&edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=52433&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=52433&r=trysnapshot53
Try a snapshot (trunk):  
http://bugs.php.net/fix.php?id=52433&r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=52433&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=52433&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=52433&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=52433&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=52433&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=52433&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=52433&r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=52433&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=52433&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=52433&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=52433&r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=52433&r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=52433&r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=52433&r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=52433&r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=52433&r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=52433&r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=52433&r=mysqlcfg



Bug #52433 [Bgs]: Call to undefined method mysqli::poll()

2010-07-25 Thread admin at webdesignforall dot net
Edit report at http://bugs.php.net/bug.php?id=52433&edit=1

 ID: 52433
 User updated by:admin at webdesignforall dot net
 Reported by:admin at webdesignforall dot net
 Summary:Call to undefined method mysqli::poll()
 Status: Bogus
 Type:   Bug
 Package:MySQLi related
 Operating System:   Debian 5
 PHP Version:5.3.3
 Block user comment: N

 New Comment:

It is compiled with mysqlnd here is the configure line.





Configure Command =>  './configure'  '--prefix=/custom/php-5.3.3'
'--with-

mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd'





Like I said mysqli_poll works fine just mysqli::poll doesn't, so there's


something wrong with the mysqli class.


Previous Comments:

[2010-07-25 18:34:58] johan...@php.net

MySQLi asynchronous queries only exist if PHP was compiled using mysqlnd
(--with-mysqli=myslqnd)

--------------------
[2010-07-25 02:32:43] admin at webdesignforall dot net

Description:

The static method mysqli::poll doesn't exist. Using it creates a Fatal
error: Call 

to undefined method mysqli::poll() .



mysqli_poll works fine.

Test script:
---
query("SELECT 'test'", MYSQLI_ASYNC);

$done=false;

do

{

  $links = $errors = $reject = array();

  $links[] = $errors[] = $reject[] = $link1;

  if (!mysqli::poll($links, $errors, $reject, 1)) {

continue;

}

if ($result = $links[0]->reap_async_query()) {

$done=true;

}

}

while(!$done);



Expected result:

No output.

Actual result:
--
Fatal error: Call to undefined method mysqli::poll() 






-- 
Edit this bug report at http://bugs.php.net/bug.php?id=52433&edit=1


[PHP-BUG] Bug #53571 [NEW]: ext/sqlite3 is missing config.m4

2010-12-17 Thread admin at webdesignforall dot net
From: 
Operating system: linux
PHP version:  5.3.4
Package:  *Compile Issues
Bug Type: Bug
Bug description:ext/sqlite3 is missing config.m4

Description:

ext/sqlite3 has a config0.m4 file instead of config.m4 so phpize complains.


Nothing major since it can be renamed before running phpize, just a niggle.


-- 
Edit bug report at http://bugs.php.net/bug.php?id=53571&edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=53571&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=53571&r=trysnapshot53
Try a snapshot (trunk):  
http://bugs.php.net/fix.php?id=53571&r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=53571&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=53571&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=53571&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=53571&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=53571&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=53571&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=53571&r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=53571&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=53571&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=53571&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=53571&r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=53571&r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=53571&r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=53571&r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=53571&r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=53571&r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=53571&r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=53571&r=mysqlcfg



Bug #53571 [Opn]: ext/sqlite3 is missing config.m4

2010-12-18 Thread admin at webdesignforall dot net
Edit report at http://bugs.php.net/bug.php?id=53571&edit=1

 ID: 53571
 User updated by:admin at webdesignforall dot net
 Reported by:admin at webdesignforall dot net
 Summary:ext/sqlite3 is missing config.m4
 Status: Open
 Type:   Bug
 Package:*Compile Issues
 Operating System:   linux
 PHP Version:5.3.4
 Block user comment: N
 Private report: N

 New Comment:

phpize is quicker than compiling php with the shared extension, so I'll
stick to 

renaming the config0.m4 for now.


Previous Comments:

[2010-12-18 13:07:13] johan...@php.net

This actually is a bug in phpize, if at all. The name actually is part
of a simple dependency mechanism for building extensions in the right
order.



You can build sqlite3 shared when doing ./configure--with-sqlite3=shared
in the PHP source, no need for phpize.


[2010-12-18 07:20:44] admin at webdesignforall dot net

Description:

ext/sqlite3 has a config0.m4 file instead of config.m4 so phpize
complains. 

Nothing major since it can be renamed before running phpize, just a
niggle.







-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53571&edit=1


[PHP-BUG] Bug #53756 [NEW]: Unable to insert serialized objects with private variables in pgsql

2011-01-15 Thread admin at webdesignforall dot net
From: 
Operating system: Ubuntu 10.04 32 bit
PHP version:  5.3.5
Package:  PDO related
Bug Type: Bug
Bug description:Unable to insert serialized objects with private variables in 
pgsql

Description:

Using php 5.3.5 with pdo_pgsql and pgsql 9.0.2 when inserting serialized
objects 

that contain private variables the serialized string is truncate as soon as
it 

hits the private variable.



Objects that do not contain private variables work fine.



When using the pdo_mysql driver it also works fine.

Test script:
---
exec('CREATE TABLE test (data TEXT)');

$s=$q->prepare("INSERT INTO test VALUES(?)");

$s->bindValue(1,$foo);

$s->execute();

$s=$q->query("SELECT * FROM test");

var_dump($s->fetchAll(PDO::FETCH_ASSOC),$foo);

Expected result:

array(1) {

  [0]=>

  array(1) {

["data"]=>

string(32) "O:3:"foo":1:{s:9:"foo_var";N;}"

  }

}

string(32) "O:3:"foo":1:{s:9:"foo_var";N;}"



Actual result:
--
array(1) {

  [0]=>

  array(1) {

["data"]=>

string(18) "O:3:"foo":1:{s:9:""

  }

}

string(32) "O:3:"foo":1:{s:9:"foo_var";N;}"



-- 
Edit bug report at http://bugs.php.net/bug.php?id=53756&edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=53756&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=53756&r=trysnapshot53
Try a snapshot (trunk):  
http://bugs.php.net/fix.php?id=53756&r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=53756&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=53756&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=53756&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=53756&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=53756&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=53756&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=53756&r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=53756&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=53756&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=53756&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=53756&r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=53756&r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=53756&r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=53756&r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=53756&r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=53756&r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=53756&r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=53756&r=mysqlcfg