Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
--TEST--
2
Test for bug #13791: quote strings in constants container to get valid PHP code
3
--FILE--
4
<?php
5
require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
6
$config->getRoot()->createDirective('WITH_QUOTES', 'double: " single:\' end');
7
echo $config->getRoot()->toString('phpconstants');
8
?>
9
--EXPECT--
10
define('WITH_QUOTES', 'double: " single:\' end');