3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize('a:3:{s:6:"entity";s:37:"Aulinks\Model\Entities\ServiceCountry";s:7:"depends";a:2:{i:0;s:30:"Aulinks\Model\Entities\Service";i:1;s:30:"Aulinks\Model\Entities\Country";}s:4:"data";a:11:{i:0;a:2:{s:6:"fields";a:2:{s:7:"allowed";b:1;s:2:"id";i:1;}s:12:"associations";a:2:{s:7:"service";i:1;s:7:"country";i:1;}}i:1;a:2:{s:6:"fields";a:2:{s:7:"allowed";b:1;s:2:"id";i:2;}s:12:"associations";a:2:{s:7:"service";i:2;s:7:"country";i:1;}}i:2;a:2:{s:6:"fields";a:2:{s:7:"allowed";b:1;s:2:"id";i:3;}s:12:"associations";a:2:{s:7:"service";i:3;s:7:"country";i:1;}}i:3;a:2:{s:6:"fields";a:2:{s:7:"allowed";b:1;s:2:"id";i:4;}s:12:"associations";a:2:{s:7:"service";i:4;s:7:"country";i:1;}}i:4;a:2:{s:6:"fields";a:2:{s:7:"allowed";b:1;s:2:"id";i:5;}s:12:"associations";a:2:{s:7:"service";i:5;s:7:"country";i:1;}}i:5;a:2:{s:6:"fields";a:2:{s:7:"allowed";b:1;s:2:"id";i:6;}s:12:"associations";a:2:{s:7:"service";i:6;s:7:"country";i:1;}}i:6;a:2:{s:6:"fields";a:2:{s:7:"allowed";b:1;s:2:"id";i:7;}s:12:"associations";a:2:{s:7:"service";i:7;s:7:"country";i:1;}}i:7;a:2:{s:6:"fields";a:2:{s:7:"allowed";b:1;s:2:"id";i:8;}s:12:"associations";a:2:{s:7:"service";i:8;s:7:"country";i:1;}}i:8;a:2:{s:6:"fields";a:2:{s:7:"allowed";b:1;s:2:"id";i:9;}s:12:"associations";a:2:{s:7:"service";i:9;s:7:"country";i:1;}}i:9;a:2:{s:6:"fields";a:2:{s:7:"allowed";b:1;s:2:"id";i:10;}s:12:"associations";a:2:{s:7:"service";i:10;s:7:"country";i:1;}}i:10;a:2:{s:6:"fields";a:2:{s:7:"allowed";b:1;s:2:"id";i:11;}s:12:"associations";a:2:{s:7:"service";i:11;s:7:"country";i:1;}}}}'));
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(3) { ["entity"]=> string(37) "Aulinks\Model\Entities\ServiceCountry" ["depends"]=> array(2) { [0]=> string(30) "Aulinks\Model\Entities\Service" [1]=> string(30) "Aulinks\Model\Entities\Country" } ["data"]=> array(11) { [0]=> array(2) { ["fields"]=> array(2) { ["allowed"]=> bool(true) ["id"]=> int(1) } ["associations"]=> array(2) { ["service"]=> int(1) ["country"]=> int(1) } } [1]=> array(2) { ["fields"]=> array(2) { ["allowed"]=> bool(true) ["id"]=> int(2) } ["associations"]=> array(2) { ["service"]=> int(2) ["country"]=> int(1) } } [2]=> array(2) { ["fields"]=> array(2) { ["allowed"]=> bool(true) ["id"]=> int(3) } ["associations"]=> array(2) { ["service"]=> int(3) ["country"]=> int(1) } } [3]=> array(2) { ["fields"]=> array(2) { ["allowed"]=> bool(true) ["id"]=> int(4) } ["associations"]=> array(2) { ["service"]=> int(4) ["country"]=> int(1) } } [4]=> array(2) { ["fields"]=> array(2) { ["allowed"]=> bool(true) ["id"]=> int(5) } ["associations"]=> array(2) { ["service"]=> int(5) ["country"]=> int(1) } } [5]=> array(2) { ["fields"]=> array(2) { ["allowed"]=> bool(true) ["id"]=> int(6) } ["associations"]=> array(2) { ["service"]=> int(6) ["country"]=> int(1) } } [6]=> array(2) { ["fields"]=> array(2) { ["allowed"]=> bool(true) ["id"]=> int(7) } ["associations"]=> array(2) { ["service"]=> int(7) ["country"]=> int(1) } } [7]=> array(2) { ["fields"]=> array(2) { ["allowed"]=> bool(true) ["id"]=> int(8) } ["associations"]=> array(2) { ["service"]=> int(8) ["country"]=> int(1) } } [8]=> array(2) { ["fields"]=> array(2) { ["allowed"]=> bool(true) ["id"]=> int(9) } ["associations"]=> array(2) { ["service"]=> int(9) ["country"]=> int(1) } } [9]=> array(2) { ["fields"]=> array(2) { ["allowed"]=> bool(true) ["id"]=> int(10) } ["associations"]=> array(2) { ["service"]=> int(10) ["country"]=> int(1) } } [10]=> array(2) { ["fields"]=> array(2) { ["allowed"]=> bool(true) ["id"]=> int(11) } ["associations"]=> array(2) { ["service"]=> int(11) ["country"]=> int(1) } } } }