|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2014-01-18 02:07 UTC] willfitch@php.net
[2014-01-18 02:28 UTC] jpauli@php.net
[2014-01-18 02:44 UTC] willfitch@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: willfitch
[2014-01-18 02:46 UTC] willfitch@php.net
[2014-01-18 16:27 UTC] willfitch@php.net
[2014-01-18 16:27 UTC] willfitch@php.net
-Status: Assigned
+Status: Closed
[2014-01-18 16:45 UTC] willfitch@php.net
[2014-01-18 16:57 UTC] willfitch@php.net
[2014-01-19 01:35 UTC] ab@php.net
[2014-10-07 23:16 UTC] stas@php.net
[2014-10-07 23:27 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 12:00:02 2025 UTC |
Description: ------------ php53 --rf copy Function [ <internal:standard> function copy ] { - Parameters [3] { Parameter #0 [ <required> $source_file ] Parameter #1 [ <required> $destination_file ] Parameter #2 [ <optionnal> $context ] } } php54 --rf copy Function [ <internal:standard> function copy ] { - Parameters [3] { Parameter #0 [ <required> $source_file ] Parameter #1 [ <required> $destination_file ] Parameter #2 [ <required> $context ] } } Starting from 5.4, copy() arginfo decl has been changed from ZEND_BEGIN _ARG_INFO_EX to ZEND_BEGIN _ARG_INFO , making all parameters required for Reflection. $context is though optionnal Test script: --------------- $r = new \ReflectionFunction('copy'); foreach($r->getParameters() as $p) { var_dump($p->isOptional()); } Expected result: ---------------- bool(false) bool(false) bool(true) Actual result: -------------- bool(false) bool(false) bool(false)