mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
This is mostly about minor glitches (signedness or length confusion), but also fixes two occasions where `zend_string`s still have been regarded as `char *`. We also add a regression test case for failing property name lookup, since that is the most relevant issue we're fixing here.
16 lines
272 B
PHP
16 lines
272 B
PHP
--TEST--
|
|
Property name lookup error
|
|
--EXTENSIONS--
|
|
com_dotnet
|
|
--FILE--
|
|
<?php
|
|
$dict = new COM("Scripting.Dictionary");
|
|
try {
|
|
$dict->unknownProperty;
|
|
} catch (com_exception $ex) {
|
|
echo $ex->getMessage(), "\n";
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
Unable to lookup `unknownProperty': %s
|