|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2011-07-01 08:51 UTC] vrana@php.net
Description:
------------
These two functions are available on Windows >= Vista since PHP 5.3.0. The problem is that reflection have some pointers on them even in Windows < Vista (e.g. XP) where they are not available.
Test script:
---------------
<?php
$r = new ReflectionExtension("standard");
$r->getFunctions();
?>
Expected result:
----------------
bool(false)
Actual result:
--------------
bool(false)
Warning: ReflectionExtension::getFunctions(): Internal error: Cannot find extension function readlink in global function table
Warning: ReflectionExtension::getFunctions(): Internal error: Cannot find extension function symlink in global function table
Patchesdisable-functions.patch (last revision 2011-08-30 13:13 UTC by bjori@php.net)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 13:00:01 2025 UTC |
The first line of Test script should be: var_dump(function_exists('readlink')); It outputs bool(false) mentioned in the result.