3v4l.org

run code in 300+ PHP versions simultaneously
<?php phpversion(); //$json = {"product_id":"844","variation_id":"","variation":"","quantity":"1","data":{"id":844,"post":{"ID":844,"post_author":"1","post_date":"2014-10-30 13:22:57","post_date_gmt":"2014-10-30 12:22:57","post_content":"","post_title":"Bunions Disc","post_excerpt":"","post_status":"publish","comment_status":"open","ping_status":"closed","post_password":"","post_name":"bunions-disc","to_ping":"","pinged":"","post_modified":"2015-03-10 11:49:15","post_modified_gmt":"2015-03-10 11:49:15","post_content_filtered":"","post_parent":0,"guid":"http:\/\/wp.pdm.dev\/?post_type=product&#038;p=844","menu_order":0,"post_type":"product","post_mime_type":"","comment_count":"0","filter":"raw"},"product_type":"simple"}}; //$object = json_decode($json); //var_dump($object);
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.1 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.8 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.24, 7.3.0 - 7.3.12
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/DhTAk on line 10
Process exited with code 255.

preferences:
191.85 ms | 401 KiB | 221 Q