swig/Examples/php/pragmas/runme.php
William S Fulton 3ccc904b06 Fix php pragmas example include path
Was not working for out of source builds
2019-05-09 07:35:24 +01:00

9 lines
227 B
PHP

<?php
# For finding include.php
set_include_path(realpath(dirname(__FILE__)) . PATH_SEPARATOR . get_include_path());
require "example.php";
echo "Version - " . ((new ReflectionExtension('example'))->getVersion()) . "\n";
?>