summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/phi_remove_002.phpt
blob: 7e8b64bdf31413520dc04da8fcbfb5aa191d635f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--TEST--
Phi sources remove 002
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.optimization_level=-1
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
function func($blogname, $user = '' ) {
    if (! is_object( $user ) || ( is_object($user) && ( $user->login != $blogname )) ) {
        test();
    }

    $result = array('user' => $user);

    return true;
}
?>
okey
--EXPECT--
okey