Ignore:
Timestamp:
09/26/13 15:41:49 (11 years ago)
Author:
angelo
Message:

Ticket #3491 - Compatibilizar Expresso com novas versoes do PHP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.5.1-evolucao/phpgwapi/inc/adodb/tests/testoci8.php

    r34 r8222  
    33<?php 
    44/*  
    5 V4.80 8 Mar 2006  (c) 2000-2007 John Lim (jlim#natsoft.com.my). All rights reserved. 
     5V4.80 8 Mar 2006  (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved. 
    66  Released under both BSD license and Lesser GPL library license.  
    77  Whenever there is any discrepancy between the two licenses,  
     
    1111  Latest version is available at http://adodb.sourceforge.net 
    1212*/ 
    13 error_reporting(63); 
     13error_reporting(E_ALL | E_STRICT); 
    1414include("../adodb.inc.php"); 
    1515include("../tohtml.inc.php"); 
     
    2626                $db->UpdateBlob('ATABLE', 'ablob', $varHoldingBlob, 'id='.$num, 'BLOB'); 
    2727                 
    28                 $rs = &$db->Execute('select * from atable'); 
     28                $rs = $db->Execute('select * from atable'); 
    2929                 
    3030                if (!$rs) die("Empty RS"); 
     
    3434        $stmt = $db->Prepare('select * from adoxyz where id=?'); 
    3535        for ($i = 1; $i <= 10; $i++) { 
    36         $rs = &$db->Execute( 
     36        $rs = $db->Execute( 
    3737                $stmt, 
    3838                array($i)); 
     
    4949        $db->Execute("delete from emp where ename='John'"); 
    5050        print $db->Affected_Rows().'<BR>'; 
    51         $stmt = &$db->Prepare('insert into emp (empno, ename) values (:empno, :ename)'); 
     51        $stmt = $db->Prepare('insert into emp (empno, ename) values (:empno, :ename)'); 
    5252        $rs = $db->Execute($stmt,array('empno'=>4321,'ename'=>'John')); 
    5353        // prepare not quite ready for prime time 
     
    7474        if (!$db->PConnect('local_oracle','scott','tiger')) die('fail connect'); 
    7575        $db->debug = true; 
    76         $rs = &$db->Execute( 
     76        $rs = $db->Execute( 
    7777                'select * from adoxyz where firstname=? and trim(lastname)=?', 
    7878                array('first'=>'Caroline','last'=>'Miranda')); 
Note: See TracChangeset for help on using the changeset viewer.