PHP userland backwards compatibility layer that emulates PHP 5.5+ core functions.

⌈⌋ branch:  upgrade.php


Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2015-05-07
03:54
[4d4222f05d] Leaf: Move PHP 4.1-5.0 code out into separate include ext/php50.php. (user: mario, tags: trunk)
03:41
[87087bb336] Fix runkit json_decode mapping, as reported by Lifeboat Fndt. (user: mario, tags: trunk)
2014-08-14
07:22
[a33d1695b1] Variant of var_export that utilizes php 5.4 array [] syntax. (user: mario, tags: trunk)
2014-04-27
17:08
[6c8e7d4e1f] Fix json_encode to always output object keys as strings. (user: mario, tags: trunk)
2014-04-24
02:51
[c46171bf99] Remove more preg_replace /e with static callbacks (user: mario, tags: trunk)
02:43
[d861d4e56d] add more defined() checks for undefined constants, fixed bug 7412bf040f in json_encode "0" string/utf8 check. (user: mario, tags: trunk)
02:23
[ab91327edb] Add ellipse … paramized call support and ->is handler. (user: mario, tags: trunk)
02:22
[1bd07841f1] (no comment) (user: mario, tags: trunk)
02:21
[86352370f9] Fixes for json_encode bugs ce9ff32a53, 7412bf040f (user: mario, tags: trunk)
2013-12-24
01:46
[816e5b8902] PDO_Seekable implements an optional cache now instead of just one stored row. Also introduces Iterator support. Now may define mysql_*() functions if ext/mysql is compiled out or future PHP versions should really remove them. (user: mario, tags: trunk)
2013-12-23
03:53
[b1e399d91a] Introduce PDOStatement_Seekable wrapper, PDO_SEEKABLE constant back, implicit casting in pdo_query(). Optionalized warnings in pdo_result(), pdo_fetch_lengths(), pdo_data_seek(). (user: mario, tags: trunk)
2013-12-22
04:10
[ca39625c76] Make pdo_query() decide on PDO::MYSQL_ATTR_FOUND_ROWS and PDO::ATTR_EMULATE_PREPARES query flags. Introduce ->query() shortcut instead of prepared statements. Workaround code removed from pdo_select_db() Proper use of pdo_stmt() and pdo_handle() everywhere - pdo_query() can't separate out an actual NULL $link, so needs a real PDO object. Fix PDO::ATTR_PERSISTENT, not a MYSQL_ driver-specific flag. Catch PDO::__connect errors. Remove pdo_num_rows() warning. SET NAMES ? now with interpolation. Various variable typos fixed. (user: mario, tags: trunk)
2013-12-21
00:03
[2ae7891dea] Cease trying to use PDO::ATTR_CURSOR with MySQL (user: mario, tags: trunk)
2013-12-20
20:37
[ee6182c2a3] procedural/hybrid pdo_* wrapper functions for replacing mysql_* (user: mario, tags: trunk)
2013-12-17
04:31
[5d7619c5b3] (no comment) (user: mario, tags: trunk)
04:28
[50af5cd55a] remove input.README.pdf pertaining to original access syntax (user: mario, tags: trunk)
04:25
[1425670b2d] (no comment) (user: mario, tags: trunk)
04:24
[15c58ac072] Add input.php superglobals wrapper 2.5 (user: mario, tags: trunk)
04:11
[ff6b218458] Remove some obsolete notes (user: mario, tags: trunk)
03:38
[f3b1768c2d] Add ircmaxells password_compat in ext/ (user: mario, tags: trunk)
03:38
[c787a0cc27] Add PHP5.5 boolval, array_column, json_last_error_msg and some more JSOL-extensions to json_decode (user: mario, tags: trunk)
2012-08-16
00:05
[101b00995c] Workaround for .prefixed version having code blocks trailing } stripped on !defined() blocks (user: mario, tags: trunk)
2012-02-16
21:14
[e7ae0ea4ba] Maps short $_SERVER vars onto $HTTP_WHATEVER_VARS for older scripts. (user: mario, tags: trunk)
2012-01-26
14:49
[2e9586cd8e] http_response_code, http_redirect, http_send_content_type, zlib_decode, zlib_encode, session_status (user: mario, tags: trunk)
2012-01-24
19:59
[41bd525d03] implemented json_last_error, PHP 5.4 functions: hex2bin, gzdecode retagged 5.4, stub functions for traits (user: mario, tags: trunk)
2012-01-16
16:01
[2a658b49be] single quoted strings are parsed like double quoted now, octal escapes implemented, \b bell escape fixed (srsly, who needs that?), added failure messages in JSON standard parsing mode for redundant backslashes (user: mario, tags: trunk)
06:28
[cdadc78b73] implemented JSON_PARSE_JAVASCRIPT which allows for unquoted array keys and ' single quoted strings, also moved comment handling into that mode (user: mario, tags: trunk)
2012-01-09
15:40
[262eedd52e] more generic (ewiki_ to upgradephp_ prefix) (user: mario, tags: trunk)
15:39
[26e52fe438] more generic check for JSON integer length (user: mario, tags: trunk)
15:38
[fc8dbed561] keeps history of versions now for easier comparisons against (user: mario, tags: trunk)
15:37
[c912a27a31] moved as it lacks mutli-line comparisons (user: mario, tags: trunk)
2012-01-08
14:47
[090c7aecf1] patched str_getcsv whitespace handling, added PHP 5.4.0 and mostly full $options support in json_encode and json_decode (user: mario, tags: trunk)
2010-10-24
01:01
[2c8ecc9370] json_encode: simplify to array_keys()==$keys (ignore strings like PHP), added hash_hmac() implementation (user: mario, tags: trunk)
2010-10-19
15:12
[578eb5655f] Fix by Anthon Pang for json_encode() array checking (now tests sequentialness of integer keys; also added sorting just in case) Ticket UUID: c7a07ca9de5492d5e9a5b3c91ca9a53aaaac8963 (user: mario, tags: trunk)
14:53
[58a323fdc7] changelog (user: mario, tags: trunk)
14:51
[b92447158a] switch to double quotes for test-up filter, and add TMPDIR alternative (user: mario, tags: trunk)
14:50
[0e6997be49] safe version of serialize() and unserialize() by Anthon Pang (user: mario, tags: trunk)
2010-07-03
08:46
[1191f907b3] addition submitted by Anthon Pang: mysqli_set_charset(5.0.5) and E_DEPRECATED constant, also adds mysql_set_charset(5.2.3) (user: mario, tags: trunk)
2010-06-23
04:04
[a3fac5ced0] preg_filter() now completely throws out string result, if there's no match (user: mario, tags: trunk)
03:04
[7cfd78e436] $_REQUEST = $_GET+$_POST only (user: mario, tags: trunk)
03:04
[f756e8cfc1] diction fixes (user: mario, tags: trunk)
02:44
[9849917ac7] corrected preg_filter() to default to array handling, regardless of input (should catch all cases now) (user: mario, tags: trunk)
01:56
[0baa0bd037] added release information (user: mario, tags: trunk)
01:48
[d32bde02c9] use array_keys in property_exists(), because values were always NULL (user: mario, tags: trunk)
01:29
[65c6caf673] sys_get_temp_dir() uses $_ENV now and @ error supression (user: mario, tags: trunk)
01:25
[b9bf7261bc] simplifiy array_replace() (user: mario, tags: trunk)
01:16
[14b9b66cce] fix array_mpa instead of _walk in property_exists() (user: mario, tags: trunk)
01:11
[290875178f] get_header() defaults added. and quoted_printable_encode() trailing garbage reenabled (user: mario, tags: trunk)
00:55
[351fd14cfc] fix var_export object notation and import_request_vars (user: mario, tags: trunk)
00:44
[b36f178e27] fix json_encode() escaping order in str_replace (user: mario, tags: trunk)