php-src/ext/dba/tests/dba_inifile.phpt
Steph Fox 4be7f4aecd - killed off UEXPECT
- com_dotnet gets a .cvsignore
- Ulf will take care of mysql extensions, rest complete
2008-05-27 18:16:04 +00:00

47 lines
860 B
PHP

--TEST--
DBA INIFILE handler test
--SKIPIF--
<?php
$handler = 'inifile';
require_once('skipif.inc');
?>
--FILE--
<?php
$handler = 'inifile';
require_once('test.inc');
require_once('dba_handler.inc');
?>
===DONE===
--EXPECT--
database handler: inifile
3NYNYY
Content String 2
Content 2 replaced
Read during write: not allowed
Content 2 replaced 2nd time
The 6th value
array(3) {
[u"key number 6"]=>
string(13) "The 6th value"
[u"key2"]=>
string(27) "Content 2 replaced 2nd time"
[u"key5"]=>
string(23) "The last content string"
}
--NO-LOCK--
3NYNYY
Content String 2
Content 2 replaced
Read during write: not allowed
Content 2 replaced 2nd time
The 6th value
array(3) {
[u"key number 6"]=>
string(13) "The 6th value"
[u"key2"]=>
string(27) "Content 2 replaced 2nd time"
[u"key5"]=>
string(23) "The last content string"
}
===DONE===