summaryrefslogtreecommitdiff
path: root/Zend/tests/bug78658.phpt
blob: 30ebe9de803c030745601ed49cb7bba5d6601e4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Bug #78658: Memory corruption using Closure::bindTo()
--FILE--
<?php

$c = function(){};

$scope = "AAAA";
$scope = "{$scope}BBBB";
$c->bindTo(new stdClass, $scope);

?>
--EXPECTF--
Warning: Class "AAAABBBB" not found in %s on line %d