3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo serialize( array( "column" =>array ( 0 => "Country", 1 => "Drug", 2 => "Cycles", 3 => "Price / cycle", 4 => "Price / treatment" ), "row" => array ( 0 => array ( 0 => "United Kingdom", 1 => "Efudix 40g CREAM 50mg / g Meda Pharmaceuticals Ltd", 2 => "1-6", 3 => "26.17", 4 => "157.02" ) ) ) ); ?>
based on nhXOO
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
a:2:{s:6:"column";a:5:{i:0;s:7:"Country";i:1;s:4:"Drug";i:2;s:6:"Cycles";i:3;s:13:"Price / cycle";i:4;s:17:"Price / treatment";}s:3:"row";a:1:{i:0;a:5:{i:0;s:14:"United Kingdom";i:1;s:50:"Efudix 40g CREAM 50mg / g Meda Pharmaceuticals Ltd";i:2;s:3:"1-6";i:3;s:5:"26.17";i:4;s:6:"157.02";}}}