Sophie

Sophie

distrib > * > cooker > x86_64 > by-pkgid > 1243822e7df129a639ee31c72aac04d0 > files > 12

php-perl-1.0.0-34.x86_64.rpm

--TEST--
Test 2: require of non existing file
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
error_reporting(E_ALL);
$perl = new Perl();
$perl->require(dirname(__FILE__)."/perl002.pl");
echo "ok\n";
?>
--EXPECTF--
Fatal error: Uncaught exception 'PerlException' with message '[perl] require error: Can't locate %sperl002.pl in @INC (@INC contains: %s) at (eval %d) line %d.
' in %sperl002.php:%d
Stack trace:
#0 {main}
  thrown in %sperl002.php on line %d