Skip to content

Instantly share code, notes, and snippets.

@dregad
Created July 24, 2013 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dregad/6071021 to your computer and use it in GitHub Desktop.
Save dregad/6071021 to your computer and use it in GitHub Desktop.
Mantis / PHP compatibility notes
$ phpcompatinfo print mantisbt/ -R --report full >/tmp/rpt
filtering output:
$ grep -v -E "(4\..\..|5.(0\..|1\.0))[^/]" /tmp/rpt |grep "^. [0-9]$"
---------------------------------------------------------------------
json 5.2.0 5.2.0 2
curl_setopt_array curl-5.1.3 5.1.3 1
json_decode json-5.2.0 5.2.0 1
json_encode json-5.2.0 5.2.0 1
>>> json / url api, not used in core - only plugins (source control, maybe others ?)
classMemberAccessOnInstantiation standard-5.4.0 5.4.0 1
>>> false positive ? see https://github.com/llaville/php-compat-info/issues/97
xmlwriter 5.1.2 2
XMLWriter xmlwriter 5.1.2 1
>>> xml import/export plugin
C quoted_printable_encode standard-5.3.0 5.3.0 1
C PHP_WINDOWS_VERSION_MAJOR Core-5.3.0 5.3.0 1
PCRE_VERSION pcre 5.2.4 2
memory_get_peak_usage standard-5.2.0 5.2.0 4
MYSQLI_BINARY_FLAG mysqli 5.3.0 3
>>> OK, compatibility code in place
DateTime date-5.2.0 5.2.0 3
DateTimeZone date-5.2.0 5.2.0 2
>>> adodb, soap tests
sys_get_temp_dir standard-5.2.1 5.2.1 2
>>> phpmailer 5.2.16 (mantis 1.2.16dev only)
spl_autoload_register SPL-5.1.2 5.1.2 2
>>> MantisGraph plugin
GD_VERSION gd-5.2.4 5.2.4 5
>>> ??? not in source code
session_register session 4.0.0/5.3.27 2
>>> adodb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment