3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i=0; $i < 10000; ++$i) { $reader = new XMLReader(); $reader->xml('<?xml version="1.0" encoding="utf-8"?><id>1234567890</id>'); while ($reader->read()) { $reader->expand(); } echo memory_get_peak_usage(true) . PHP_EOL; }
based on b673p

Abusive script

This script was stopped while abusing our resources