mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
17 lines
421 B
PHP
17 lines
421 B
PHP
--TEST--
|
|
Bug #77494 (Disabling class causes segfault on member access)
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("curl")) exit("skip curl extension not loaded"); ?>
|
|
--INI--
|
|
disable_classes=CURLFile
|
|
--FILE--
|
|
<?php
|
|
$a = new CURLFile();
|
|
var_dump($a->name);
|
|
?>
|
|
--EXPECTF--
|
|
Warning: CURLFile() has been disabled for security reasons in %sbug77494.php on line 2
|
|
|
|
Warning: Undefined property: CURLFile::$name in %s on line %d
|
|
NULL
|