Changeset 1485 in svn for trunk


Ignore:
Timestamp:
2014-05-27T06:53:19+02:00 (12 months ago)
Author:
Xuefer
Message:

improve devel testing

Location:
trunk/devel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/devel/run

    r1441 r1485  
    359359    *)
    360360        hiecho "$@"
    361         "$@" | tee output.php
     361        case "${tracer[@]}" in
     362        gdb*|val*)
     363            "$@"
     364            ;;
     365        *)
     366            "$@" | tee output.php
     367            ;;
     368        esac
    362369        ;;
    363370    esac
  • trunk/devel/sample.cpp.php

    r1441 r1485  
    165165        echo __FUNCTION__;
    166166        $this->method();
     167
    167168#if PHP_VERSION >= 500
    168169        try {
     
    538539
    539540$array = array(
    540         array('a' => 'b')
    541         );
     541    array('a' => 'b')
     542    );
     543
    542544foreach ($array as $value) {
    543545    foreach ($value as $key => $value) {
     
    621623
    622624$a = true;
     625
    623626while ($a) {
    624627    declare (ticks=1) {
    625628        echo 2;
    626629    }
     630
    627631    $a = false;
    628632}
Note: See TracChangeset for help on using the changeset viewer.