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.

28 check-ins using file ext/contrib/fix_magic_quotes.php version c534b538ed

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