3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "'&#10;&#10;Invoice&#10;&#10;DATE&#10;13/11/2012&#10;&#10;INVOICE #&#10;&#10;9314&#10;BILL TO&#10;Jh Architecture3230 Mainway, Unit 3&#10;&#10;Burlington, Ontario L7M 1A5att: James Hettinger&#10;&#10;P.O. # TERMS&#10;&#10;Net 30&#10;&#10;DUE DATE&#10;&#10;13/12/2012&#10;&#10;GST #&#10;868302522&#10;&#10;Total:&#10;Balance Due:&#10;&#10;Subtotal:&#10;Total Sales Tax:&#10;&#10;Payments:&#10;&#10;Thank you for your business.&#10;To Pay by Credit Card, simply sign-in to yourPlanmine account or call us. Otherwise,&#10;please make a wire transfer payment or sendus a check.&#10;&#10;Banking Info for Wire Transfer Payments:CAD Account #: 3400018&#10;USD Account #: 0283312Name: CIBC&#10;Address: 1 St. Clair Avenue West, Toronto, Ontario M4V 1K7Transit Number: 00112&#10;Institution Number: 0010Swift Code: CIBCCATT&#10;&#10;ITEM DESCRIPTION QTY RATE AMOUNT&#10;Retail Job #M-4876: 676 Appleby Line, Unit Daycare 6,035 0.065 392.28Retail Job #M-4876: 676 Appleby Line, Unit Daycare (Wall&#10;&#10;Outlets Add-On) 6,035 0.0325 196.14Retail Job #M-4876: 676 Appleby Line, Unit Daycare (Reflected&#10;Ceiling Plan) 6,035 0.065 392.28&#10;October 11, 2012: Retainer payment received for invoice#6204876. Paid by VISA in the amount of $459.06.&#10;(reference #gmtsvpsz9n1m)HST on Sales 13.00% 127.49&#10;&#10;$1,108.19&#10;&#10;$649.13&#10;&#10;$980.70&#10;$127.49&#10;&#10;-$459.06 '"; $poot = preg_match_all('/\$(\-\S+)/imx', $theFile, $result, PREG_PATTERN_ORDER); var_dump($result);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $theFile in /in/MtjrP on line 5 Deprecated: preg_match_all(): Passing null to parameter #2 ($subject) of type string is deprecated in /in/MtjrP on line 5 array(2) { [0]=> array(0) { } [1]=> array(0) { } }

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:
49.13 ms | 402 KiB | 8 Q