<?php $numbers = '24.045,25.531,26.890'; $numbers = explode(',', $numbers); $lastNumber = end($numbers); echo $lastNumber;
Standard input is empty
26.890
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!