aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/php/typedef_reference_runme.php
blob: 83e75fb6655a547b04d0b2994d3b5b366682a856 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

require "tests.php";
require "typedef_reference.php";

check::functions(array('somefunc','otherfunc','new_intp','copy_intp','delete_intp','intp_assign','intp_value'));
$int2=copy_intp(2);
check::equal(2,somefunc($int2)," test passing intp to somefunc");
$int3=copy_intp(3);
check::equal(3,otherfunc($int3)," test passing intp to otherfunc");

check::done();
?>