3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_export(unserialize( <<<SER a:4:{i:0;a:5:{s:12:"additionType";s:6:"Travel";s:16:"additionCurrency";s:3:"EUR";s:16:"additionPriceOrg";d:75;s:15:"additionRawData";s:348:"a:9:{s:2:"id";i:1;s:6:"status";i:1;s:4:"name";s:38:"Memorial and Museum Auschwitz-Birkenau";s:4:"city";s:8:"Oswiecim";s:11:"description";s:94:"Travel to Memorial and Museum Auschwitz-Birkenau, the one of largest nazis concentration camp.";s:10:"maxPersons";i:12;s:14:"pricePerPerson";d:25;s:8:"currency";s:3:"EUR";s:8:"classCss";s:10:"icon-tower";}";s:15:"additionPeoples";s:1:"3";}i:1;a:5:{s:12:"additionType";s:6:"Travel";s:16:"additionCurrency";s:3:"EUR";s:16:"additionPriceOrg";d:80;s:15:"additionRawData";s:296:"a:9:{s:2:"id";i:2;s:6:"status";i:1;s:4:"name";s:9:"Salt mine";s:4:"city";s:9:"Wieliczka";s:11:"description";s:71:"Travel to ancient and beautiful salt mine in Wieliczka, near to Cracow.";s:10:"maxPersons";i:12;s:14:"pricePerPerson";d:20;s:8:"currency";s:3:"EUR";s:8:"classCss";s:10:"icon-miner";}";s:15:"additionPeoples";s:1:"4";}i:2;a:5:{s:12:"additionType";s:6:"Travel";s:16:"additionCurrency";s:3:"EUR";s:16:"additionPriceOrg";d:200;s:15:"additionRawData";s:382:"a:9:{s:2:"id";i:3;s:6:"status";i:1;s:4:"name";s:20:"Jasna Gora Monastery";s:4:"city";s:11:"Czestochowa";s:11:"description";s:137:"Travel to the most famous Polish shrine to the Virgin Mary and the country's greatest place of pilgrimage for many its spiritual capital.";s:10:"maxPersons";i:12;s:14:"pricePerPerson";d:40;s:8:"currency";s:3:"EUR";s:8:"classCss";s:14:"icon-monastery";}";s:15:"additionPeoples";s:1:"5";}i:3;a:5:{s:12:"additionType";s:6:"Travel";s:16:"additionCurrency";s:3:"EUR";s:16:"additionPriceOrg";d:20;s:15:"additionRawData";s:747:"a:9:{s:2:"id";i:4;s:6:"status";i:1;s:4:"name";s:12:"Royal Castle";s:4:"city";s:6:"Warsaw";s:11:"description";s:516:"The Royal Castle in Warsaw (Polish: Zamek Królewski w Warszawie) is a castle residency and was the official residence of the Polish monarchs. It is located in the Castle Square, at the entrance to the Warsaw Old Town. The personal offices of the king and the administrative offices of the Royal Court of Poland were located there from the 16th century until the Partitions of Poland. In its long history the Royal Castle was repeatedly devastated and plundered by Swedish, Brandenburgian, German, and Russian armies.";s:10:"maxPersons";i:12;s:14:"pricePerPerson";d:10;s:8:"currency";s:3:"EUR";s:8:"classCss";s:14:"icon-monastery";}";s:15:"additionPeoples";s:1:"2";}} SER>>> ));
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected end of file, expecting variable (T_VARIABLE) or heredoc end (T_END_HEREDOC) or ${ (T_DOLLAR_OPEN_CURLY_BRACES) or {$ (T_CURLY_OPEN) in /in/rC6qE on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end, expecting T_VARIABLE or T_END_HEREDOC or T_DOLLAR_OPEN_CURLY_BRACES or T_CURLY_OPEN in /in/rC6qE on line 7
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected $end in /in/rC6qE on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected $ in /in/rC6qE on line 7
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/rC6qE on line 7
Process exited with code 255.