From 05350e621b7d14822719195096ced34e2da23dd6 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Mon, 6 May 2019 01:40:15 +0200 Subject: [PATCH] Remove example PHP script from FFI FFI README.md already includes the PHP example with more information. --- ext/ffi/example.php | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 ext/ffi/example.php 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); -- 2.40.0