diff options
author | Tyson Andre <tysonandre775@hotmail.com> | 2019-08-22 21:14:00 -0400 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-08-23 12:29:55 +0200 |
commit | 0c09089cafeb8a540986fa0a9dfe6c408508e946 (patch) | |
tree | f7619e8f937ec72333163e8187a49703237ff60b /sapi/cli/php_cli.c | |
parent | 9b227640c162bf5de05d1105b58aa5c94e7e7272 (diff) | |
download | php-git-0c09089cafeb8a540986fa0a9dfe6c408508e946.tar.gz |
Fix escapes for namespaced classes in gen_stub.php
Fix the string generated when the `ns\class` is passed to a macro
#define ESCAPE(x) #x
// puts(ESCAPE(ns\class)); // warning: unknown escape sequence: \c
puts(ESCAPE(ns\\class)); // Properly prints ns\class to stdout.
Diffstat (limited to 'sapi/cli/php_cli.c')
0 files changed, 0 insertions, 0 deletions