xref: /PHP-7.0/sapi/cli/tests/bug67741.phpt (revision 4e2c87ed)
1--TEST--
2Bug #67741 (auto_prepend_file messes up __LINE__)
3--INI--
4include_path={PWD}
5auto_prepend_file=bug67741_stub.inc
6--SKIPIF--
7<?php
8include "skipif.inc";
9?>
10--FILE--
11#!/bin/env php
12<?php
13echo "primary lineno: ", __LINE__, "\n";
14?>
15--EXPECT--
16prepend lineno: 2
17primary lineno: 3