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

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

update php

File size: 206 bytes
Line 
1--TEST--
2Bug #72523 (dtrace issue with reflection (failed test))
3--FILE--
4<?php
5
6$gen = (new class() {
7        function a() {
8                yield "okey";
9        }
10})->a();
11
12var_dump($gen->current());
13?>
14--EXPECT--
15string(4) "okey"
Note: See TracBrowser for help on using the repository browser.