<?php // your code goes here $h1 = '03:00';$h2 = substr($h1, 0, 2);$h2++; echo $h2;
Standard input is empty
4
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!