php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26395 php_xslt not working with PHP5.0.0b3-dev
Submitted: 2003-11-25 03:23 UTC Modified: 2004-08-30 12:07 UTC
From: info at sovall dot cz Assigned:
Status: Not a bug Package: XSLT related
PHP Version: 5CVS-2003-11-25 (dev) OS: Windows 2k
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: info at sovall dot cz
New email:
PHP Version: OS:

 

 [2003-11-25 03:23 UTC] info at sovall dot cz
Description:
------------
When I try 
<?php $xh = xslt_create(); ?>
then PHP write:
PHP Fatal error:  Call to undefined function xslt_create()

My php.ini:
extension=php_iconv.dll
extension=php_xslt.dll

All php/dlls/ are in winnt/system32/ directory.

php version: 5.0.0b3-dev (php5-win32-200311201130.zip)
php_xslt.dll: 6/22/2003

With php5.0.0b1 working fine.

Thanx for reply.




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-25 03:33 UTC] info at sovall dot cz
I am sorry. This example working fine. My problem may be in new Zend 2 Object model.
My code:
class xslTransform{
		public $xh;
....
		function xslTransform(){
			$this->xh = xslt_create();
....
		}
}
This code return error above.
 [2003-11-25 03:50 UTC] info at sovall dot cz
Other undefined functions:
xslt_set_base
xslt_process
 [2003-11-25 04:29 UTC] sniper@php.net
There is no such extension as 'ext/xslt/' in PHP 5.
There IS 'ext/xsl' though..
 [2003-11-25 16:38 UTC] chregu@php.net
Just for your information, info at sovall dot cz: 

ext/xslt is based on Sablotron
ext/xsl is based on libslt

ext/xslt is not ported yet to PHP5.

ext/xsl is not API-compatible to ext/xslt.

So either port (or let someone port) ext/xslt to php5 or 
switch to ext/xsl (and rewrite your scripts). 

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 00:01:30 2024 UTC