diff --git a/appendices/migration83/deprecated.xml b/appendices/migration83/deprecated.xml
index 3b271ae26cad..ab65272d82a8 100644
--- a/appendices/migration83/deprecated.xml
+++ b/appendices/migration83/deprecated.xml
@@ -92,7 +92,7 @@
Calling Phar::setStub with a
- $resource and a $length
+ resource and a $length
is now deprecated. Such calls should be replaced by:
$phar->setStub(stream_get_contents($resource));
diff --git a/reference/phar/Phar/setStub.xml b/reference/phar/Phar/setStub.xml
index 694e52726485..c369e22b4d43 100644
--- a/reference/phar/Phar/setStub.xml
+++ b/reference/phar/Phar/setStub.xml
@@ -9,8 +9,8 @@
&reftitle.description;
public boolPhar::setStub
- stringstub
- intlen-1
+ resourcestringstub
+ intlength-1
&phar.write;
@@ -58,7 +58,7 @@ include 'phar://myphar.phar/somefile.php';
- len
+ length
@@ -87,6 +87,31 @@ include 'phar://myphar.phar/somefile.php';
+
+ &reftitle.changelog;
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ 8.3.0
+
+ Calling Phar::setStub with a
+ resource and a length
+ is now deprecated. Such calls should be replaced by:
+ $phar->setStub(stream_get_contents($resource));
+
+
+
+
+
+
+
&reftitle.examples;