Test: /ext/dba/tests/dba_db4_000.phpt - Version 5.4.0alpha1    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
002+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
003+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
004+
005+ Warning: dba_open(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm,nl): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_handler.inc on line 6
006+ Error creating database
007+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
008+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
009+
010+ Warning: dba_open(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm,cl): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_handler.inc on line 42
011+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
012+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
002- 3NYNYY
003- Content String 2
004- Content 2 replaced
006- Content 2 replaced 2nd time
014+ Error reopening database
007- The 6th value
008- array(3) {
009- ["key number 6"]=>
010- string(13) "The 6th value"
011- ["key2"]=>
012- string(27) "Content 2 replaced 2nd time"
013- ["key5"]=>
014- string(23) "The last content string"
015- }
016- --NO-LOCK--
017- 3NYNYY
018- Content String 2
019- Content 2 replaced
020- Read during write: not allowed
021- Content 2 replaced 2nd time
022- The 6th value
023- array(3) {
024- ["key number 6"]=>
025- string(13) "The 6th value"
026- ["key2"]=>
027- string(27) "Content 2 replaced 2nd time"
028- ["key5"]=>
029- string(23) "The last content string"
030- }
031- ===DONE=== 002+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
003+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
002- database file created
003- This is a test insert
004+
005+ Warning: dba_open(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm,c): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_db4_001.php on line 6
006+ Error creating /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm 002+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
003+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
002- database file created
003- This is a test insert
004+
005+ Warning: dba_open(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm,n): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_db4_002.php on line 6
006+ Error creating /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm 003+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
004+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
004- Notice: dba_open(): %stest0.dbm: unexpected file type or format in %sdba_db4_003.php on line %d
005- 003+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
004+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
003- database file created
004- This is a test insert
005+
006+ Warning: dba_open(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm,n): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_db4_004.php on line 9
007+ Error creating /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm 002+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
003+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
002- database file created
003- This is a test insert
004+
005+ Warning: dba_popen(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm,c): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_db4_005.php on line 6
006+ Error creating /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm 002+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
003+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
002- database file created
003- This is a test insert
004+
005+ Warning: dba_popen(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm,n): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_db4_006.php on line 6
006+ Error creating /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm 003+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
004+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
004- Notice: dba_popen(): %stest0.dbm: unexpected file type or format in %sdba_db4_007.php on line %d
005- 003+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
004+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
003- database file created
004- This is a test insert
005+
006+ Warning: dba_popen(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm,n): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_db4_008.php on line 9
007+ Error creating /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm 002+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
003+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
004+
005+ Warning: dba_open(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm,n): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_db4_009.php on line 7
006+ does not exist
007+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
008+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
009+
010+ Warning: dba_open(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test1.dbm,n): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_db4_009.php on line 12
011+ does not exist
012+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
013+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
014+
015+ Warning: dba_open(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test2.dbm,n): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_db4_009.php on line 17
016+ does not exist
017+ array(0) {
002- database file created
003- database file created
004- database file created
005- array(3) {
006- [%d]=>
007- string(%d) "%stest0.dbm"
008- [%d]=>
009- string(%d) "%stest1.dbm"
010- [%d]=>
011- string(%d) "%stest2.dbm"
019+
020+ Warning: dba_close() expects parameter 1 to be resource, boolean given in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_db4_009.php on line 23 002+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
003+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
004+
005+ Warning: dba_open(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm,n): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_db4_010.php on line 5
002- string(1) """
003- string(2) "\""
004- string(2) "\""
005- string(1) """
006+ Error creating database 002+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
003+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
004+
005+ Warning: dba_open(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm,c): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_db4_011.php on line 5
006+ Error creating database
002- bool(true)
003- bool(true)
004- bool(false)
005- Content String 1
006- Content String 2 002+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
003+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
003- Warning: dba_open(%stest0.dbm,rl): Driver initialization failed for handler: db4: No such file or directory in %sdba_db4_012.php on line %d
005+ Warning: dba_open(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm,rl): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_db4_012.php on line 6 002+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
003+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
004+
005+ Warning: dba_popen(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm,c): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_db4_013.php on line 7
006+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
007+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
002- database file created
003- database file opened
005- Warning: dba_insert(): You cannot perform a modification to a database without proper access in %sdba_db4_013.php on line %d
009+ Warning: dba_popen(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm,rl): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_db4_013.php on line 12
010+ Error creating /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm 002+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
003+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
003- Warning: dba_open(%stest0.dbm,wl): Driver initialization failed for handler: db4: No such file or directory in %sdba_db4_014.php on line %d
005+ Warning: dba_open(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm,wl): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_db4_014.php on line 7 002+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
003+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
004+
002- database file created
003- database file opened
004- This is a test insert
005+ Warning: dba_popen(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm,c): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_db4_015.php on line 7
006+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
007+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
008+
009+ Warning: dba_popen(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm,wl): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_db4_015.php on line 12
010+ Error creating /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm 002+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
003+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
004+
005+ Warning: dba_popen(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm,c): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_db4_016.php on line 7
006+ Error creating /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm
007+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->put: method not permitted before handle's open method
008+ H�\$�H�l$�1�L�d$�H��H��1�I�����%: DB->compact: method not permitted before handle's open method
009+
002- database file created
003- bool(true)
004- This is a test insert
005- database file created
006- bool(false)
007- bool(true)
008- This is a test insert
009- second open test row 2
010+ Warning: dba_popen(/home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm,c): Driver initialization failed for handler: db4: Invalid argument in /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/dba_db4_016.php on line 21
011+ Error creating /home/paolo/src/php-5.4.0alpha1/ext/dba/tests/test0.dbm