note 119324 added to migration70.incompatible

From: Date: Thu, 12 May 2016 21:52:14 +0000
Subject: note 119324 added to migration70.incompatible
Groups: php.notes 
Request: Send a blank email to php-notes+get-205477@lists.php.net to get a copy of this message
NOTE: the new variable handling in PHP 7 also has side effects on the COM .NET extension. Numeric variants (in the Windows application space) now must be quoted when passed over from PHP. This is the case when the receiving application expects a variable of type variant. Here is an example: <?php $word = new COM('Word.Application'); // now load a document, ... // the following works in PHP 5 but will throw an exception in PHP 7 $word->ActiveDocument->PrintOut(false, false, 0, $outfile); // the following works in PHP 7 as well, please note the quotes around the '0' $word->ActiveDocument->PrintOut(false, false, '0', $outfile); ?> ---- Server IP: 72.52.91.14 Probable Submitter: 94.220.150.10 ---- Manual Page -- http://php.net/manual/en/migration70.incompatible.php Edit -- https://master.php.net/note/edit/119324 Del: integrated -- https://master.php.net/note/delete/119324/integrated Del: useless -- https://master.php.net/note/delete/119324/useless Del: bad code -- https://master.php.net/note/delete/119324/bad+code Del: spam -- https://master.php.net/note/delete/119324/spam Del: non-english -- https://master.php.net/note/delete/119324/non-english Del: in docs -- https://master.php.net/note/delete/119324/in+docs Del: other reasons-- https://master.php.net/note/delete/119324 Reject -- https://master.php.net/note/reject/119324 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#205477) next »