aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/php5/typedef_reference_runme.php
blob: 88a70f8d38496f364ae5daa5f7379f7a3f2f8ea2 (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();
?>