|
php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Go to the source code of this file.
Variables | |
| $phpdbg = getenv('TEST_PHPDBG_EXECUTABLE') ?: null | |
| $pass_options = ' -qbI -n -d "error_reporting=32767" -d "display_errors=1" -d "display_startup_errors=1" -d "log_errors=0"' | |
| $file = "" | |
| $cmdargv = "" | |
| if(isset($argc) && $argc > 1) | $proc = proc_open("$phpdbg $pass_options $file -- $cmdargv", [["pipe", "r"], ["pipe", "w"], ["pipe", "w"]], $pipes) |
| if(! $proc) | $input = $output = "" |
| do | |
| $w = $e = null | |
| $n = @stream_select($r, $w, $e, null) | |
| if(!isset( $name)) while(!isset($testfile)) | $output = str_replace("string(".strlen($file).") \"$file\"", 'string(%d) "%s"', $output) |
| $testdata = | |
| if(!empty($ini)) if( $cmdargv !="") if($file !="") if( $testfile=="") elseif(file_put_contents($testfile, $testdata)) | else |
| $testfile = "" | |
| $cmdargv = "" |
Definition at line 30 of file create-test.php.
| $file = "" |
Definition at line 29 of file create-test.php.
| $input = $output = "" |
Definition at line 66 of file create-test.php.
| $n = @stream_select($r, $w, $e, null) |
Definition at line 73 of file create-test.php.
| $output = str_replace("string(".strlen($file).") \"$file\"", 'string(%d) "%s"', $output) |
Definition at line 114 of file create-test.php.
| $pass_options = ' -qbI -n -d "error_reporting=32767" -d "display_errors=1" -d "display_startup_errors=1" -d "log_errors=0"' |
Definition at line 28 of file create-test.php.
Definition at line 27 of file create-test.php.
| if (isset( $argc) &&$argc > 1) $proc = proc_open("$phpdbg $pass_options $file -- $cmdargv", [["pipe", "r"], ["pipe", "w"], ["pipe", "w"]], $pipes) |
Definition at line 61 of file create-test.php.
| $testdata = |
Definition at line 118 of file create-test.php.
| $testfile = "" |
Definition at line 143 of file create-test.php.
| $w = $e = null |
Definition at line 72 of file create-test.php.
| do |
Definition at line 70 of file create-test.php.
| if(!empty( $ini)) if($cmdargv !="") if( $file !="") if($testfile=="") elseif (file_put_contents( $testfile, $testdata)) else |
Definition at line 141 of file create-test.php.
Definition at line 97 of file create-test.php.