diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-10-13 14:17:28 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-13 14:17:28 +0200 |
commit | 37c329d7153b65fd2430fa42e8af8e8a0cbc0a41 (patch) | |
tree | 7041c722228f74286b96c50fc834652f0c29156f /sapi/phpdbg | |
parent | 6c2c7dabee006fa735307d92bb223a1fa3d47414 (diff) | |
download | php-git-37c329d7153b65fd2430fa42e8af8e8a0cbc0a41.tar.gz |
Trim trailing whitespace in source code files
Diffstat (limited to 'sapi/phpdbg')
-rw-r--r-- | sapi/phpdbg/.phpdbginit | 16 | ||||
-rwxr-xr-x | sapi/phpdbg/phpdbg.init.d | 2 | ||||
-rw-r--r-- | sapi/phpdbg/web-bootstrap.php | 8 | ||||
-rw-r--r-- | sapi/phpdbg/xml.md | 2 |
4 files changed, 14 insertions, 14 deletions
diff --git a/sapi/phpdbg/.phpdbginit b/sapi/phpdbg/.phpdbginit index 1ad35218ed..7ee34fccaa 100644 --- a/sapi/phpdbg/.phpdbginit +++ b/sapi/phpdbg/.phpdbginit @@ -25,7 +25,7 @@ */ /* -function my_debugging_function() +function my_debugging_function() { var_dump(func_get_args()); } @@ -49,31 +49,31 @@ if (function_exists('readline_completion_function')) { /* Setting argv made trivial ... - + argv 1 2 3 4 ^ set argv for next execution - + argv ^ unset argv for next execution - + */ function argv() { $argv = func_get_args(); - + if (!$argv) { $_SERVER['argv'] = array(); $_SERVER['argc'] = 0; return; } - + $_SERVER['argv'] = array_merge ( array("phpdbg"), $argv - ); + ); $_SERVER['argc'] = count($_SERVER['argv']); - + return $_SERVER['argv']; } :> diff --git a/sapi/phpdbg/phpdbg.init.d b/sapi/phpdbg/phpdbg.init.d index 99a1ab328b..1f0b1fdbf9 100755 --- a/sapi/phpdbg/phpdbg.init.d +++ b/sapi/phpdbg/phpdbg.init.d @@ -44,7 +44,7 @@ insanity() return 1 fi fi - + return 0 } diff --git a/sapi/phpdbg/web-bootstrap.php b/sapi/phpdbg/web-bootstrap.php index 7b8c5d30de..046062997e 100644 --- a/sapi/phpdbg/web-bootstrap.php +++ b/sapi/phpdbg/web-bootstrap.php @@ -1,26 +1,26 @@ <?php /** * The following file shows how to bootstrap phpdbg so that you can mock specific server environments - * + * * eval include("web-bootstrap.php") * exec index.php * compile * break ... * run */ -if (!defined('PHPDBG_BOOTSTRAPPED')) +if (!defined('PHPDBG_BOOTSTRAPPED')) { /* define these once */ define("PHPDBG_BOOTPATH", "/opt/php-zts/htdocs"); define("PHPDBG_BOOTSTRAP", "index.php"); - define("PHPDBG_BOOTSTRAPPED", sprintf("/%s", PHPDBG_BOOTSTRAP)); + define("PHPDBG_BOOTSTRAPPED", sprintf("/%s", PHPDBG_BOOTSTRAP)); } /* * Superglobals are JIT, phpdbg will not over-write whatever you set during bootstrap */ -$_SERVER = array +$_SERVER = array ( 'HTTP_HOST' => 'localhost', 'HTTP_CONNECTION' => 'keep-alive', diff --git a/sapi/phpdbg/xml.md b/sapi/phpdbg/xml.md index 8e16754db0..3fff8d2bc1 100644 --- a/sapi/phpdbg/xml.md +++ b/sapi/phpdbg/xml.md @@ -297,7 +297,7 @@ info (subcommands) - <classinfo num="" /> with num having an integer value, indicating the number of loaded user-defined classes - Each class is enumerated with first a <class>, then an optional <parents> container and then a <classsource> element -- The <parents> container contains the <class> elements of the parent of the last <class> element. +- The <parents> container contains the <class> elements of the parent of the last <class> element. - <class type="" flags="" name="" methodcount="" /> - type: either "User" or "Internal" - flags: either "Interface", "Class" or "Abstract Class" |