php-compatinfo icon indicating copy to clipboard operation
php-compatinfo copied to clipboard

Windows-specific compatibility

Open joshuaspence opened this issue 9 years ago • 3 comments

There are some functions which are either not implemented in Windows or are implemented but in a different version. For example, the apache_child_terminate method is "not implemented on Windows platforms".

A rough list of Windows-specific compatibility issues is as follows:

$output['functions_windows'] = array(
  'apache_child_terminate' => false,
  'chroot' => false,
  'getrusage' => false,
  'imagecreatefromxpm' => false,
  'lchgrp' => false,
  'lchown' => false,
  'nl_langinfo' => false,
  'strptime' => false,
  'sys_getloadavg' => false,
  'checkdnsrr' => '5.3.0',
  'dns_get_record' => '5.3.0',
  'fnmatch' => '5.3.0',
  'getmxrr' => '5.3.0',
  'getopt' => '5.3.0',
  'imagecolorclosesthwb' => '5.3.0',
  'inet_ntop' => '5.3.0',
  'inet_pton' => '5.3.0',
  'link' => '5.3.0',
  'linkinfo' => '5.3.0',
  'readlink' => '5.3.0',
  'socket_create_pair' => '5.3.0',
  'stream_socket_pair' => '5.3.0',
  'symlink' => '5.3.0',
  'time_nanosleep' => '5.3.0',
  'time_sleep_until' => '5.3.0',
);

joshuaspence avatar Apr 05 '15 05:04 joshuaspence

No solution for 4.2.0; will be delay to another release

llaville avatar May 18 '15 09:05 llaville

Will be part of new project. See https://github.com/llaville/php-compat-info/issues/208#issuecomment-122490988, and https://github.com/llaville/php-compat-info/issues/208#issuecomment-147059222

llaville avatar Oct 10 '15 08:10 llaville

Use of external project is considered as API BC break, so it won't be included in a 4.x series. Will be only available for 5.0

llaville avatar Oct 13 '15 17:10 llaville