source: src/router/php7/Zend/tests/bug73960.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 4 months ago

update php

File size: 245 bytes
Line 
1--TEST--
2Bug #73960: Leak with instance method calling static method with referenced return
3--FILE--
4<?php
5
6$value = 'one';
7$array = array($value);
8$array = $ref =& $array;
9var_dump($array);
10
11?>
12--EXPECT--
13array(1) {
14  [0]=>
15  string(3) "one"
16}
Note: See TracBrowser for help on using the repository browser.