3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Output for 8.4.1 - 8.4.6
Deprecated: Function utf8_decode() is deprecated since 8.2, visit the php.net documentation for various alternatives in /in/XXNkq on line 47 <h3>foo</h3> <a href="http://test.com">fóo</a> lórem bár ipsum <h2>bar</h2> food <h3>foo</h3> bark. <a>bar</a> not á test
Output for 8.2.0 - 8.2.28, 8.3.0 - 8.3.20
Deprecated: Function utf8_decode() is deprecated in /in/XXNkq on line 47 <h3>foo</h3> <a href="http://test.com">fóo</a> lórem bár ipsum <h2>bar</h2> food <h3>foo</h3> bark. <a>bar</a> not á test
Output for 7.2.0 - 7.2.34, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.32
<h3>foo</h3> <a href="http://test.com">fóo</a> lórem bár ipsum <h2>bar</h2> food <h3>foo</h3> bark. <a>bar</a> not á test

preferences:
151.7 ms | 414 KiB | 5 Q