3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "| ATM | Cash Machines | | DBT | Delivered By Tesco | | INTERCOM | Intercom is available at the store entrance | | HEARING_IMPAIRMENTS | Facilities available for people with hearing impairments | | HAND_CAR_WASH | Hand car wash | | PETROL_FILLING_STATION | Petrol station | | ACCESSIBLE_CAR_PARKING | Disabled parking facilities | | ASSISTANCE_DOGS | Guide dogs are welcome in the store | | MOBILITY_IMPAIRMENT | Facilities available for people with mobility impairment | | WHEELCHAIR_ACCESS | Wheelchair assistance is available at the store | | DIRECT_CLICK_AND_COLLECT | Direct Collection | | INDUCTION_LOOP | Induction loops have been installed at the store | | AUTOMATIC_DOORS | The store has automatic doors | | NON_ASSISTED_WHEELCHAIR_ACCESS | Non-assisted wheelchair access is possible | | VISUALLY_IMPAIRED | Facilites available for people with visual impairment . Including braille and large print | | ACCESSIBLE_TOILETS | Fully accessible toilets are available at the store | | PAYQWIQ | This store has PayQwiq | | FREE_FROM | Free from | | TOILETS | Toilets | | CLOTHING_COLLECTION | Clothing collection | | MONEYGRAM | MoneyGram | | ACCESSIBLE_BABY_CHANGING | Accessible baby changing facilities at the store | | CUMMINS | Cummins | | MAX_PRINT_KIOSK | Max Print kiosk | | FOOD_COLLECTION | Food Collection | | FISH | Fish | | WORLD_FOOD | World Food | | WIFI | WiFi Access | | DIRECT_RETURNS | Direct Returns | | ASIAN | Asian | | RUG_DOCTOR | Rug Doctor | | PHARMACY | Pharmacy | | CAFE | Café | | OPTICIAN | Optician | | 24_HOURS | Open 24 Hours | | CLOTHING_RANGE | Clothing Range | | SCAN_AS_YOU_SHOP | Scan as you Shop | | TRAVEL_MONEY | Travel Money | | POLISH | Polish | | CLOTHING_ORDER_POINT | Clothing Order Point | | CHICKEN | Chicken | | COINSTAR | Coinstar | | DEPOSIT_MONEY | Deposit Money | | PIZZA | Pizza | | GAMES | Games | | AFRO_CARIBBEAN | Afro Caribbean | | PHOTO_SHOP | Photo Shop | | DIRECT_ORDER_POINT | Direct Order Point | | MOMENTUM_99 | Momentum 99 | | MEAT | Meat | | TECH_SUPPORT | Tech Support | | TESCO_MOBILE_SHOP | Tesco Mobile Shop | | GROCERY_COLLECTION | Grocery Collection | | KRISPY_KREME | Krispy kreme | | RECYCLING | Recycling | | TIMPSON | Timpson | | JET_WASH | Jet Wash | | POST_OFFICE | Post Office | | PAYPOINT | PayPoint | | BABY_CHANGE | Baby Changing Facilities | | CAR_WASH | Car Wash | | GREEK | Greek | | COMMUNITY_SPACE | Community Space |"; $list = explode(PHP_EOL, $a); sort($list) print_r($list);
based on hHATa
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.7
Parse error: syntax error, unexpected 'print_r' (T_STRING) in /in/f87t8 on line 70
Process exited with code 255.
Output for hhvm-3.15.4
Fatal error: Uncaught Error: syntax error, unexpected T_STRING in /in/f87t8:70 Stack trace: #0 {main}
Process exited with code 255.