|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch bug61011.phpt for Reproducible crash Bug #61011Patch version 2012-02-08 16:05 UTC Return to Bug #61011 | Download this patchThis patch is obsolete Obsoleted by patches: Patch Revisions:Developer: laruence@php.net
--TEST--
Bug #61011 (Crash when an exception is thrown by __autoload accessing a static property)
--FILE--
<?php
function __autoload($class) {
throw new Exception($class);
}
try {
NoExistsClass::$property;
} catch (Exception $e) {
}
echo 'okey';
--EXPECT--
okey
|
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 03:00:02 2025 UTC |