summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/tests/phpdbg_get_executable_stream_wrapper.inc
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2016-12-06 18:27:31 +0100
committerBob Weinand <bobwei9@hotmail.com>2016-12-06 18:29:48 +0100
commit7e12b5da712f603d4ff68c378c0b1f06dcc495db (patch)
treecb21968cf076a7b6f6fbbcb2e9ee8428bc9da992 /sapi/phpdbg/tests/phpdbg_get_executable_stream_wrapper.inc
parentfee5c049a8190289ddbb39c71f2422031d0d12e3 (diff)
downloadphp-git-7e12b5da712f603d4ff68c378c0b1f06dcc495db.tar.gz
Fixed issue getting executable lines from custom wrappers
See also krakjoe/phpdbg#161
Diffstat (limited to 'sapi/phpdbg/tests/phpdbg_get_executable_stream_wrapper.inc')
-rw-r--r--sapi/phpdbg/tests/phpdbg_get_executable_stream_wrapper.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/sapi/phpdbg/tests/phpdbg_get_executable_stream_wrapper.inc b/sapi/phpdbg/tests/phpdbg_get_executable_stream_wrapper.inc
new file mode 100644
index 0000000000..4f4155715d
--- /dev/null
+++ b/sapi/phpdbg/tests/phpdbg_get_executable_stream_wrapper.inc
@@ -0,0 +1,6 @@
+<?php
+
+function foo()
+{
+ return '<result>'; // line 5 is executable
+}