1--TEST-- 2DBA INIFILE handler test 3--SKIPIF-- 4<?php 5 $handler = 'inifile'; 6 require_once dirname(__FILE__) .'/skipif.inc'; 7?> 8--FILE-- 9<?php 10 $handler = 'inifile'; 11 require_once dirname(__FILE__) .'/test.inc'; 12 require_once dirname(__FILE__) .'/dba_handler.inc'; 13?> 14===DONE=== 15--EXPECT-- 16database handler: inifile 173NYNYY 18Content String 2 19Content 2 replaced 20Read during write: not allowed 21"key number 6" written 22Failed to write "key number 6" 2nd time 23Content 2 replaced 2nd time 24The 6th value 25array(3) { 26 ["key number 6"]=> 27 string(13) "The 6th value" 28 ["key2"]=> 29 string(27) "Content 2 replaced 2nd time" 30 ["key5"]=> 31 string(23) "The last content string" 32} 33--NO-LOCK-- 343NYNYY 35Content String 2 36Content 2 replaced 37Read during write: not allowed 38"key number 6" written 39Failed to write "key number 6" 2nd time 40Content 2 replaced 2nd time 41The 6th value 42array(3) { 43 ["key number 6"]=> 44 string(13) "The 6th value" 45 ["key2"]=> 46 string(27) "Content 2 replaced 2nd time" 47 ["key5"]=> 48 string(23) "The last content string" 49} 50===DONE=== 51