First add for test tools.

This commit is contained in:
Laurent Destailleur 2009-12-14 00:35:03 +00:00
parent 9d4551d9a8
commit c7fe80367a

View File

@ -1,9 +1,13 @@
<?php
// This source file must be UTF-8 encoded
$filename='filewithé';
$filename='filewithé';
print 'Test to create a file on disk'."\n";
print 'ENV[LANG]='.$_ENV["LANG"]."\n";
print 'ENV[LANGUAGE]='.$_ENV["LANGUAGE"]."\n";
// Si LANG contient UTF8, system en UTF8, pas de conversion requise pour fopen
$s=fopen('/tmp/'.$filename,'w');
fclose($s);