3v4l.org

run code in 300+ PHP versions simultaneously
<?php $msscodes = []; preg_match('#<style type="text/mss">(.*)</style>#i', __FILE__, $msscodes); var_dump($msscodes); echo(__FILE__); ?> <!DOCTYPE html> <html> <head> <title>MSS</title> <style type="text/mss"> p.class1 { color: blue; } p.class2 { color: red; } </style> </head> <body> <p class="class1">Hello World!</p> <p class="class2">This document use MSS.</p> </body> </html>
Output for git.master, git.master_jit, rfc.property-hooks
array(0) { } /in/OY1Ld<!DOCTYPE html> <html> <head> <title>MSS</title> <style type="text/mss"> p.class1 { color: blue; } p.class2 { color: red; } </style> </head> <body> <p class="class1">Hello World!</p> <p class="class2">This document use MSS.</p> </body> </html>

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
42.94 ms | 402 KiB | 8 Q