Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement enums | Ilija Tovilo | 2021-03-17 | 1 | -1/+2 |
| | | | | | | | | RFC: https://wiki.php.net/rfc/enumerations Co-authored-by: Nikita Popov <nikita.ppv@gmail.com> Closes GH-6489. | ||||
* | Replace zend_bool uses with bool | Nikita Popov | 2021-01-15 | 1 | -1/+1 |
| | | | | | | | We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool is retained as an alias. | ||||
* | Constify char * arguments of APIs | twosee | 2020-06-08 | 1 | -2/+2 |
| | | | | Closes GH-5676. | ||||
* | Remove mention of PHP major version in Copyright headers | Gabriel Caruso | 2019-09-25 | 1 | -2/+0 |
| | | | | Closes GH-4732. | ||||
* | Bump PHP_JSON_VERSION to PHP_VERSION | Peter Kokot | 2019-07-24 | 1 | -1/+3 |
| | | | | Closes GH-4459 | ||||
* | Remove local variables | Peter Kokot | 2019-02-03 | 1 | -9/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file. | ||||
* | Remove yearly range from copyright notice | Zeev Suraski | 2019-01-30 | 1 | -1/+1 |
| | |||||
* | Bump PHP_JSON_VERSION to 1.7.0 | Jakub Zelenka | 2018-06-14 | 1 | -1/+1 |
| | |||||
* | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | |||||
* | Merge JSON_THROW_ON_ERROR | Andrea Faulds | 2017-10-22 | 1 | -0/+1 |
| | |||||
* | Bump PHP_JSON_VERSION to 1.6.0 | Jakub Zelenka | 2017-07-16 | 1 | -1/+1 |
| | |||||
* | [ci skip] Remove CSV leftovers from json code - $Id$ | Jakub Zelenka | 2017-07-16 | 1 | -2/+0 |
| | |||||
* | Introduce internal php_json_encode_ex to allow extensions setting depth | Jakub Zelenka | 2017-07-16 | 1 | -1/+1 |
| | |||||
* | Add JSON_INVALID_UTF8_SUBSTITUTE and JSON_INVALID_UTF8_IGNORE | Jakub Zelenka | 2017-07-16 | 1 | -14/+18 |
| | | | | | It implements request #65082 and adds options for replacing resp. ignoring invalid UTF-8 sequences for json_encode and json_decode. | ||||
* | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-02 | 1 | -1/+1 |
| | |||||
* | Bump PHP_JSON_VERSION to 1.5.0 | Jakub Zelenka | 2016-08-29 | 1 | -1/+1 |
| | |||||
* | Add return code from json API functions | Jakub Zelenka | 2016-06-28 | 1 | -4/+4 |
| | | | | It will allow fix few json bugs in a better way | ||||
* | Merge branch 'PHP-7.0' | Nikita Popov | 2016-03-03 | 1 | -2/+2 |
|\ | |||||
| * | Move semicolon into TSRMLS_CACHE_EXTERN/DEFINE | Nikita Popov | 2016-03-03 | 1 | -1/+1 |
| | | | | | | | | Also re bug #71575. | ||||
| * | Fix bug #71575 removing extra semicolons outside macros | James Titcumb | 2016-03-03 | 1 | -1/+1 |
| | | |||||
* | | json_encode: Escape U+2028 and U+2029 more often. | Eddie Kohler | 2016-01-22 | 1 | -0/+1 |
|/ | | | | | | | | | These characters are illegal in Javascript, so leaving them unescaped is risky. The default encoder ($flags = 0) is fine, but the encoder with JSON_UNESCAPED_UNICODE flag is not. In case anyone wants the ability to leave these characters unescaped, provide JSON_UNESCAPED_LINE_TERMINATORS. | ||||
* | Merge branch 'PHP-5.6' into PHP-7.0 | Lior Kaplan | 2016-01-01 | 1 | -1/+1 |
|\ | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016) | ||||
| * | Happy new year (Update copyright to 2016) | Lior Kaplan | 2016-01-01 | 1 | -1/+1 |
| | | |||||
* | | Move json_decode options macros bellow encode options | Jakub Zelenka | 2015-09-04 | 1 | -4/+4 |
| | | |||||
* | | json: fix formating of PHP_JSON* option bitshifts | Ryan McCullagh | 2015-09-04 | 1 | -12/+12 |
| | | |||||
* | | these need to be exported for extensions that use json | Joe Watkins | 2015-09-03 | 1 | -1/+1 |
| | | |||||
* | | switch to the unified globals accessor where appropriate | Anatol Belski | 2015-07-29 | 1 | -7/+3 |
| | | |||||
* | | Fix bug #68546 (json_decode cannot access property started with \0) | Jakub Zelenka | 2015-06-21 | 1 | -0/+1 |
| | | |||||
* | | Set PHP_JSON_VERSION to 1.4.0 | Jakub Zelenka | 2015-02-17 | 1 | -1/+1 |
| | | |||||
* | | fix json globals | Michael Wallner | 2015-02-09 | 1 | -0/+1 |
| | | |||||
* | | Give me credit | Jakub Zelenka | 2015-02-02 | 1 | -0/+1 |
| | | |||||
* | | Merge branch 'master' into jsond | Jakub Zelenka | 2015-01-25 | 1 | -1/+1 |
|\ \ | | | | | | | | | | | | | | | | Conflicts: ext/json/JSON_parser.c ext/json/json.c | ||||
| * \ | Merge branch 'PHP-5.6' | Stanislav Malyshev | 2015-01-19 | 1 | -0/+1 |
| |\ \ | | |/ | | | | | | | | | | | | | * PHP-5.6: Fixed bug #50224 where float without decimals were converted to integer Updated NEWS for #68371 | ||||
| | * | Fixed bug #50224 where float without decimals were converted to integer | Juan Basso | 2015-01-19 | 1 | -0/+1 |
| | | | |||||
| | * | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | | | |||||
| | * | Export JsonSerializable Interface (bug #65753) | Julien Pauli | 2014-02-17 | 1 | -1/+1 |
| | | | |||||
| * | | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | | | |||||
* | | | Porting implementation of RFC json_preserve_fractional_part | Juan Basso | 2015-01-12 | 1 | -0/+1 |
| | | | |||||
* | | | Merge branch 'master' into jsond | Jakub Zelenka | 2014-12-27 | 1 | -5/+9 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ext/json/JSON_parser.c ext/json/JSON_parser.h ext/json/config.m4 ext/json/config.w32 ext/json/json.c ext/json/php_json.h | ||||
| * | | first shot remove TSRMLS_* things | Anatol Belski | 2014-12-13 | 1 | -4/+4 |
| | | | |||||
| * | | ext/iconv, ext/json and ext/session use static tsrmls pointer | Anatol Belski | 2014-10-17 | 1 | -1/+4 |
| | | | |||||
* | | | Add missing bits to php_json.h | Jakub Zelenka | 2014-11-25 | 1 | -14/+18 |
| | | | |||||
* | | | Add error codes to php_json.h | Jakub Zelenka | 2014-11-16 | 1 | -0/+13 |
|/ / | |||||
* | | Move smart_str implementation into Zend/ | Nikita Popov | 2014-09-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | So we can use it there as well... For now I've retained the zend_smart_str_public.h header, though it would probably be better to just move that one struct into zend_types.h. | ||||
* | | s/PHP 5/PHP 7/ | Johannes Schlüter | 2014-09-19 | 1 | -1/+1 |
| | | |||||
* | | fix signature | Anatol Belski | 2014-08-27 | 1 | -1/+1 |
| | | |||||
* | | fix signature | Anatol Belski | 2014-08-27 | 1 | -1/+1 |
| | | |||||
* | | master renames phase 1 | Anatol Belski | 2014-08-25 | 1 | -2/+2 |
| | | |||||
* | | ported ext/json | Anatol Belski | 2014-08-19 | 1 | -2/+2 |
| | | |||||
* | | Export JsonSerializable Interface (bug #65753) | Julien Pauli | 2014-02-17 | 1 | -1/+1 |
|/ |