diff --git a/src/common/php_API.pir b/src/common/php_API.pir index 544fc26..859839d 100644 --- a/src/common/php_API.pir +++ b/src/common/php_API.pir @@ -62,7 +62,7 @@ php_API.pir - PHP API Library .param pmc val .param string type - $I0 = isa val, 'PippResource' + $I0 = isa val, 'PhpResource' if $I0 goto L1 $P0 = getinterp $P1 = $P0['sub'; 1] @@ -325,7 +325,7 @@ STILL INCOMPLETE (see parse_arg_impl). .return ('boolean') not_boolean: unless c == 'r' goto not_resource - $I0 = isa arg, 'PippResource' + $I0 = isa arg, 'PhpResource' if $I0 goto L5 $I0 = isa arg, 'PhpNull' unless $I0 goto L51 diff --git a/src/common/php_MACRO.pir b/src/common/php_MACRO.pir index 1681359..3459139 100644 --- a/src/common/php_MACRO.pir +++ b/src/common/php_MACRO.pir @@ -111,7 +111,7 @@ php_MACRO.pir - PHP API macros =cut .macro RETURN_RESOURCE(val) - new $P0, 'PippResource', .val + new $P0, 'PhpResource', .val .return ($P0) .endm diff --git a/src/common/php_builtin.pir b/src/common/php_builtin.pir index d072f47..7142d57 100644 --- a/src/common/php_builtin.pir +++ b/src/common/php_builtin.pir @@ -100,7 +100,7 @@ STILL INCOMPLETE. if $I0 goto L4 $I0 = isa $P2, 'PhpBoolean' if $I0 goto L4 - $I0 = isa $P2, 'PippResource' + $I0 = isa $P2, 'PhpResource' if $I0 goto L4 $I0 = isa $P2, 'PhpNull' if $I0 goto L4 @@ -426,7 +426,7 @@ Get the resource type name for a given resource .RETURN_NULL() L1: $P1 = shift args - $I0 = isa $P1, 'PippResource' + $I0 = isa $P1, 'PhpResource' if $I0 goto L2 error(E_WARNING, "Supplied argument is not a valid resource handle") .RETURN_FALSE() diff --git a/src/common/php_gmp.pir b/src/common/php_gmp.pir index 339f3e9..b4b6c28 100644 --- a/src/common/php_gmp.pir +++ b/src/common/php_gmp.pir @@ -348,7 +348,7 @@ Gets signed long value of GMP number .RETURN_NULL() L1: $P1 = shift args - $I0 = isa $P1, 'PippResource' + $I0 = isa $P1, 'PhpResource' unless $I0 goto L2 .local pmc gmpnum gmpnum = fetch_resource($P1, GMP_PMC)