Changeset 1528 in svn


Ignore:
Timestamp:
2014-09-11T17:10:47Z (3 years ago)
Author:
Xuefer
Message:

MFT [1527]: update sample

Location:
branches/3.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/3.2/devel/sample.cpp.php

    r1515 r1528  
    1919namespace ns;
    2020#define _Exception \Exception
     21#else
     22#define _Exception Exception
    2123#endif
    2224
     
    234236        $a = 'a' . 'b';
    235237        $a = 'a' . 'abc';
     238        $a = __FILE__;
     239#if PHP_VERSION >= 530
     240        $a = __DIR__;
     241#endif
     242        $a = 'a' . __FILE__;
     243#if PHP_VERSION >= 530
     244        $a = 'a' . __DIR__;
     245#endif
    236246        @f1();
    237247        print('1');
     
    305315#endif
    306316    }
     317#if PHP_VERSION >= 500
    307318
    308319    public function __destruct()
    309320    {
    310321    }
    311 #if PHP_VERSION >= 500
    312322
    313323    /** doc */
     
    645655include_once 'include_once.php';
    646656echo __FILE__;
     657#if PHP_VERSION >= 530
     658echo __DIR__;
     659#endif
    647660echo __LINE__;
    648661#if PHP_VERSION >= 530
Note: See TracChangeset for help on using the changeset viewer.