1--TEST--
2Optimizer: Pass Registration
3--EXTENSIONS--
4opcache
5zend_test
6--SKIPIF--
7<?php
8if (getenv("SKIP_REPEAT")) {
9    die("skip pass registration does not need repeat");
10}
11if (getenv("SKIP_PRELOAD")) {
12    die("skip Not compatible with preload");
13}
14?>
15--INI--
16opcache.enable_cli=1
17opcache.file_cache=
18opcache.file_cache_only=0
19zend_test.register_passes=1
20--FILE--
21<?php
22
23?>
24--EXPECT--
25pass1
26pass2
27