<?php$lista = ["Maça", "Pera"];[$maca, $pera] = $lista;echo "{$maca} {$pera}"; //https://pt.stackoverflow.com/q/341583/101
Standard input is empty
Maça Pera
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!