1--TEST--
2Bug #73973 debug_zval_dump() assertion error for resource consts with --enable-debug
3--FILE--
4<?php
5define('myerr', fopen('php://stderr', 'w'));
6debug_zval_dump(myerr);
7?>
8--EXPECTF--
9resource(5) of type (stream) refcount(%d)
10