php-src/sapi/phpdbg/tests/include_once.phpt
Bob Weinand 11e7447e04 Merge branch 'PHP-7.0' into PHP-7.1
(cherry picked from commit 37ae5f3931)
2016-10-14 01:48:03 +02:00

17 lines
237 B
PHP

--TEST--
include_once must include only once
--PHPDBG--
r
q
--EXPECTF--
[Successful compilation of %s]
prompt> 1
[Script ended normally]
prompt>
--FILE--
<?php
include_once __DIR__.'/include.inc';
include_once __DIR__.'/include.inc';