]> granicus.if.org Git - php/commitdiff
Merge branch 'PHP-5.6' of https://git.php.net/repository/php-src into PHP-5.6
authorXinchen Hui <laruence@php.net>
Fri, 31 Oct 2014 09:35:19 +0000 (17:35 +0800)
committerXinchen Hui <laruence@php.net>
Fri, 31 Oct 2014 09:36:33 +0000 (17:36 +0800)
1  2 
ext/opcache/tests/bug68104.phpt

index 521486ef582aa86c53683e93ecc2aadf1021c17b,0000000000000000000000000000000000000000..89439ef68e13451f76655f3d2cf1982588673faa
mode 100644,000000..100644
--- /dev/null
@@@ -1,13 -1,0 +1,17 @@@
- --EXPECT--
 +--TEST--
 +Bug #68104 (Segfault while pre-evaluating a disabled function)
 +--INI--
 +opcache.enable=1
 +opcache.enable_cli=1
 +disable_functions=dl
 +--SKIPIF--
 +<?php require_once('skipif.inc'); ?>
 +--FILE--
 +<?php
 +var_dump(is_callable("dl"));
++dl("a.so");
++?>
++--EXPECTF--
 +bool(true)
++
++Warning: dl() has been disabled for security reasons in %sbug68104.php on line %d