Test: /ext/dba/tests/dba_db4_000.phpt - Version 5.5.1    

There are 2 different diffs reported by users for this test.

Count Diff
5 (83%)
002+
003+ Notice: dba_firstkey(): illegal flag specified to DBcursor->del in /tmp/build/php-5.5.1/ext/dba/tests/dba_handler.inc on line 21
004+ 0NYNYY
002- 3NYNYY
007+
008+ Notice: dba_close(): illegal flag specified to DBcursor->put in /tmp/build/php-5.5.1/ext/dba/tests/dba_handler.inc on line 37
010- array(3) {
011- ["key number 6"]=>
012- string(13) "The 6th value"
013- ["key2"]=>
014- string(27) "Content 2 replaced 2nd time"
015- ["key5"]=>
016- string(23) "The last content string"
014+
015+ Notice: dba_firstkey(): DBcursor->del: attempt to modify a read-only database in /tmp/build/php-5.5.1/ext/dba/tests/dba_handler.inc on line 69
016+ array(0) {
018+
019+ Notice: dba_close(): DBcursor->put: attempt to modify a read-only database in /tmp/build/php-5.5.1/ext/dba/tests/dba_handler.inc on line 77
019- 3NYNYY
021+
022+ Notice: dba_firstkey(): illegal flag specified to DBcursor->del in /tmp/build/php-5.5.1/ext/dba/tests/dba_handler.inc on line 21
023+ 0NYNYY
026+
027+ Notice: dba_close(): illegal flag specified to DBcursor->put in /tmp/build/php-5.5.1/ext/dba/tests/dba_handler.inc on line 37
027- array(3) {
028- ["key number 6"]=>
029- string(13) "The 6th value"
030- ["key2"]=>
031- string(27) "Content 2 replaced 2nd time"
032- ["key5"]=>
033- string(23) "The last content string"
033+
034+ Notice: dba_firstkey(): DBcursor->del: attempt to modify a read-only database in /tmp/build/php-5.5.1/ext/dba/tests/dba_handler.inc on line 69
035+ array(0) {
037+
038+ Notice: dba_close(): DBcursor->put: attempt to modify a read-only database in /tmp/build/php-5.5.1/ext/dba/tests/dba_handler.inc on line 77 004- Notice: dba_open(): %stest0.dbm: unexpected file type or format in %sdba_db4_003.php on line %d
005- 004- Notice: dba_popen(): %stest0.dbm: unexpected file type or format in %sdba_db4_007.php on line %d
005- 003+ string(1) """
005- string(1) """
1 (17%)
002+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
003+ UH��SH��H���/��H��t9H�=�2: DB->compact: method not permitted before handle's open method
004+
005+ Warning: dba_open(/usr/src/php-5.5.1/ext/dba/tests/test0.dbm,nl): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/ext/dba/tests/dba_handler.inc on line 6
006+ Error creating database
007+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
008+ UH��SH��H���/��H��t9H�=�2: DB->compact: method not permitted before handle's open method
009+
010+ Warning: dba_open(/usr/src/php-5.5.1/ext/dba/tests/test0.dbm,cl): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/ext/dba/tests/dba_handler.inc on line 42
011+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
012+ UH��SH��H���/��H��t9H�=�2: DB->compact: method not permitted before handle's open method
002- 3NYNYY
003- Content String 2
004- Content 2 replaced
006- "key number 6" written
014+ Error reopening database
007- Failed to write "key number 6" 2nd time
008- Content 2 replaced 2nd time
009- The 6th value
010- array(3) {
011- ["key number 6"]=>
012- string(13) "The 6th value"
013- ["key2"]=>
014- string(27) "Content 2 replaced 2nd time"
015- ["key5"]=>
016- string(23) "The last content string"
017- }
018- --NO-LOCK--
019- 3NYNYY
020- Content String 2
021- Content 2 replaced
022- Read during write: not allowed
023- "key number 6" written
024- Failed to write "key number 6" 2nd time
025- Content 2 replaced 2nd time
026- The 6th value
027- array(3) {
028- ["key number 6"]=>
029- string(13) "The 6th value"
030- ["key2"]=>
031- string(27) "Content 2 replaced 2nd time"
032- ["key5"]=>
033- string(23) "The last content string"
034- }
035- ===DONE=== 002+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
003+ UH��SH��H���/��H��t9H�=�2: 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(/usr/src/php-5.5.1/ext/dba/tests/test0.dbm,c): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/ext/dba/tests/dba_db4_001.php on line 6
006+ Error creating /usr/src/php-5.5.1/ext/dba/tests/test0.dbm 002+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
003+ UH��SH��H���/��H��t9H�=�2: 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(/usr/src/php-5.5.1/ext/dba/tests/test0.dbm,n): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/ext/dba/tests/dba_db4_002.php on line 6
006+ Error creating /usr/src/php-5.5.1/ext/dba/tests/test0.dbm 003+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
004+ UH��SH��H���/��H��t9H�=�2: 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+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
004+ UH��SH��H���/��H��t9H�=�2: 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(/usr/src/php-5.5.1/ext/dba/tests/test0.dbm,n): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/ext/dba/tests/dba_db4_004.php on line 9
007+ Error creating /usr/src/php-5.5.1/ext/dba/tests/test0.dbm 002+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
003+ UH��SH��H���/��H��t9H�=�2: 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(/usr/src/php-5.5.1/ext/dba/tests/test0.dbm,c): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/ext/dba/tests/dba_db4_005.php on line 6
006+ Error creating /usr/src/php-5.5.1/ext/dba/tests/test0.dbm 002+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
003+ UH��SH��H���/��H��t9H�=�2: 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(/usr/src/php-5.5.1/ext/dba/tests/test0.dbm,n): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/ext/dba/tests/dba_db4_006.php on line 6
006+ Error creating /usr/src/php-5.5.1/ext/dba/tests/test0.dbm 003+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
004+ UH��SH��H���/��H��t9H�=�2: 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+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
004+ UH��SH��H���/��H��t9H�=�2: 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(/usr/src/php-5.5.1/ext/dba/tests/test0.dbm,n): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/ext/dba/tests/dba_db4_008.php on line 9
007+ Error creating /usr/src/php-5.5.1/ext/dba/tests/test0.dbm 002+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
003+ UH��SH��H���/��H��t9H�=�2: DB->compact: method not permitted before handle's open method
004+
005+ Warning: dba_open(/usr/src/php-5.5.1/ext/dba/tests/test0.dbm,n): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/ext/dba/tests/dba_db4_009.php on line 7
006+ does not exist
007+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
008+ UH��SH��H���/��H��t9H�=�2: DB->compact: method not permitted before handle's open method
009+
010+ Warning: dba_open(/usr/src/php-5.5.1/ext/dba/tests/test1.dbm,n): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/ext/dba/tests/dba_db4_009.php on line 12
011+ does not exist
012+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
013+ UH��SH��H���/��H��t9H�=�2: DB->compact: method not permitted before handle's open method
014+
015+ Warning: dba_open(/usr/src/php-5.5.1/ext/dba/tests/test2.dbm,n): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/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 /usr/src/php-5.5.1/ext/dba/tests/dba_db4_009.php on line 23 002+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
003+ UH��SH��H���/��H��t9H�=�2: DB->compact: method not permitted before handle's open method
004+
005+ Warning: dba_open(/usr/src/php-5.5.1/ext/dba/tests/test0.dbm,n): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/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+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
003+ UH��SH��H���/��H��t9H�=�2: DB->compact: method not permitted before handle's open method
004+
005+ Warning: dba_open(/usr/src/php-5.5.1/ext/dba/tests/test0.dbm,c): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/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+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
003+ UH��SH��H���/��H��t9H�=�2: 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(/usr/src/php-5.5.1/ext/dba/tests/test0.dbm,rl): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/ext/dba/tests/dba_db4_012.php on line 6 002+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
003+ UH��SH��H���/��H��t9H�=�2: DB->compact: method not permitted before handle's open method
004+
005+ Warning: dba_popen(/usr/src/php-5.5.1/ext/dba/tests/test0.dbm,c): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/ext/dba/tests/dba_db4_013.php on line 7
006+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
007+ UH��SH��H���/��H��t9H�=�2: 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(/usr/src/php-5.5.1/ext/dba/tests/test0.dbm,rl): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/ext/dba/tests/dba_db4_013.php on line 12
010+ Error creating /usr/src/php-5.5.1/ext/dba/tests/test0.dbm 002+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
003+ UH��SH��H���/��H��t9H�=�2: 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(/usr/src/php-5.5.1/ext/dba/tests/test0.dbm,wl): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/ext/dba/tests/dba_db4_014.php on line 7 002+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
003+ UH��SH��H���/��H��t9H�=�2: 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(/usr/src/php-5.5.1/ext/dba/tests/test0.dbm,c): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/ext/dba/tests/dba_db4_015.php on line 7
006+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
007+ UH��SH��H���/��H��t9H�=�2: DB->compact: method not permitted before handle's open method
008+
009+ Warning: dba_popen(/usr/src/php-5.5.1/ext/dba/tests/test0.dbm,wl): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/ext/dba/tests/dba_db4_015.php on line 12
010+ Error creating /usr/src/php-5.5.1/ext/dba/tests/test0.dbm 002+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
003+ UH��SH��H���/��H��t9H�=�2: DB->compact: method not permitted before handle's open method
004+
005+ Warning: dba_popen(/usr/src/php-5.5.1/ext/dba/tests/test0.dbm,c): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/ext/dba/tests/dba_db4_016.php on line 7
006+ Error creating /usr/src/php-5.5.1/ext/dba/tests/test0.dbm
007+ UH��SH��H���/��H��t9H�=�2: DB->put: method not permitted before handle's open method
008+ UH��SH��H���/��H��t9H�=�2: 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(/usr/src/php-5.5.1/ext/dba/tests/test0.dbm,c): Driver initialization failed for handler: db4: Invalid argument in /usr/src/php-5.5.1/ext/dba/tests/dba_db4_016.php on line 21
011+ Error creating /usr/src/php-5.5.1/ext/dba/tests/test0.dbm