logo       

cvs: ZendEngine2(PHP_5_0) /tests bug31828.phpt bug32080.phpt: msg#00044

Subject: cvs: ZendEngine2(PHP_5_0) /tests bug31828.phpt bug32080.phpt
dmitry          Thu May 19 05:56:01 2005 EDT

  Modified files:              (Branch: PHP_5_0)
    /ZendEngine2/tests  bug31828.phpt bug32080.phpt 
  Log:
  Strict warnings
  
  
http://cvs.php.net/diff.php/ZendEngine2/tests/bug31828.phpt?r1=1.1.2.2&r2=1.1.2.3&ty=u
Index: ZendEngine2/tests/bug31828.phpt
diff -u ZendEngine2/tests/bug31828.phpt:1.1.2.2 
ZendEngine2/tests/bug31828.phpt:1.1.2.3
--- ZendEngine2/tests/bug31828.phpt:1.1.2.2     Tue May 17 14:43:58 2005
+++ ZendEngine2/tests/bug31828.phpt     Thu May 19 05:56:00 2005
@@ -2,6 +2,7 @@
 Bug #31828 (Crash with zend.ze1_compatibility_mode=On)
 --INI--
 zend.ze1_compatibility_mode=on
+error_reporting=4095
 --FILE--
 <?php
 $o = new stdClass();
@@ -11,7 +12,12 @@
 $a = $a[0];
 print_r($a);
 ?>
---EXPECT--
+--EXPECTF--
+Strict Standards: Implicit cloning object of class 'stdClass' because of 
'zend.ze1_compatibility_mode' in %sbug31828.php on line 2
+
+Strict Standards: Implicit cloning object of class 'stdClass' because of 
'zend.ze1_compatibility_mode' in %sbug31828.php on line 5
+
+Strict Standards: Implicit cloning object of class 'stdClass' because of 
'zend.ze1_compatibility_mode' in %sbug31828.php on line 6
 stdClass Object
 (
     [id] => 77
http://cvs.php.net/diff.php/ZendEngine2/tests/bug32080.phpt?r1=1.1.2.2&r2=1.1.2.3&ty=u
Index: ZendEngine2/tests/bug32080.phpt
diff -u ZendEngine2/tests/bug32080.phpt:1.1.2.2 
ZendEngine2/tests/bug32080.phpt:1.1.2.3
--- ZendEngine2/tests/bug32080.phpt:1.1.2.2     Tue May 17 14:43:58 2005
+++ ZendEngine2/tests/bug32080.phpt     Thu May 19 05:56:00 2005
@@ -2,6 +2,7 @@
 Bug #32080 (segfault when assigning object to itself with 
zend.ze1_compatibility_mode=On)
 --INI--
 zend.ze1_compatibility_mode=on
+error_reporting=4095
 --FILE--
 <?php
 class test { }
@@ -9,6 +10,9 @@
 $t = $t; // gives segfault
 var_dump($t);
 ?>
---EXPECT--
-object(test)#2 (0) {
+--EXPECTF--
+Strict Standards: Implicit cloning object of class 'test' because of 
'zend.ze1_compatibility_mode' in %sbug32080.php on line 3
+
+Strict Standards: Implicit cloning object of class 'test' because of 
'zend.ze1_compatibility_mode' in %sbug32080.php on line 5
+object(test)#%d (0) {
 }

-- 
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe