xref: /PHP-7.1/Zend/tests/038.phpt (revision e0625942)
1--TEST--
2Trying to use lambda as array key
3--FILE--
4<?php
5
6var_dump(array(function() { } => 1));
7
8?>
9--EXPECTF--
10Warning: Illegal offset type in %s on line %d
11array(0) {
12}
13