Yngvarr

Generation

generate functionSun, 12 Feb 2023

обрезка массива

<?php $number = trim(fgets(STDIN)); $arr = explode(' ', $number); echo implode(' ', array_slice($arr, 1, -1)); ?>

Questions about programming?Chat with your personal AI assistant