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 by user mario

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