Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/sapi/cgi/tests/ |
Current File : //proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/sapi/cgi/tests/bug75574_utf8_win.phpt |
--TEST-- Bug #75574 putenv does not work properly if parameter contains non-ASCII unicode character, UTF-8 --SKIPIF-- <?php if (substr(PHP_OS, 0, 3) != 'WIN') { die("skip Valid only on Windows"); } include "skipif.inc"; ?> --FILE-- <?php /* #vim: set fileencoding=utf-8 #vim: set encoding=utf-8 */ include "include.inc"; $php = get_cgi_path(); reset_env_vars(); $fn = dirname(__FILE__) . DIRECTORY_SEPARATOR . md5(uniqid()); file_put_contents($fn, "<?php\nvar_dump(putenv('FOO=啊'));\n//var_dump(`echo %FOO%`);\nvar_dump(getenv('FOO'));"); echo shell_exec("$php -n -f $fn"); unlink($fn); ?> ===DONE=== --EXPECTF-- bool(true) string(3) "啊" ===DONE===
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare