Skip to content

comm644/sigmalab-xmlparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XML parser KPHP compatibility layer.

Run as PHP

php -d opcache.enable_cli=1 \
    -d opcache.preload=preload.php \
    -f tests/testParseXml.php

Use in KPHP:

//Load class
require_once 'path/to/XMLParser.php'
//declare functions xml_parser_*
require_once 'path/to/xml_parser.php'

Compile options:

--extra-linker-flags  -l:libexpat.a

Dependencies: \Sigmalab\IsKPHP class, you can implement self own.

class IsKPHP
{
	public static bool $isKPHP = true;
}
#ifndef KPHP
IsKPHP::$isKPHP = false;
#endif

(c) Alexey V. Vasilyev, Sigmalab LLC. License: Apache 2.

About

xml_parser implementation for KPHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published