From: Peter Kokot Date: Sun, 5 May 2019 23:40:15 +0000 (+0200) Subject: Remove example PHP script from FFI X-Git-Tag: php-7.4.0alpha1~328 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=05350e621b7d14822719195096ced34e2da23dd6;p=php Remove example PHP script from FFI FFI README.md already includes the PHP example with more information. --- diff --git a/ext/ffi/example.php b/ext/ffi/example.php deleted file mode 100644 index 0b82e25440..0000000000 --- a/ext/ffi/example.php +++ /dev/null @@ -1,31 +0,0 @@ -printf("Hello World from %s!\n", "PHP")); -var_dump($ffi->getenv("PATH")); -var_dump($ffi->time(null)); - -$tv = $ffi->new("struct timeval"); -$tz = $ffi->new("struct timezone"); -var_dump($ffi->gettimeofday(FFI::addr($tv), FFI::addr($tz))); -var_dump($tv, $tz);