[ create a new paste ] login | about

Link: http://codepad.org/HbS63y2n    [ raw code | output | fork ]

PHP, pasted on Dec 25:
1
2
3
4
5
6
7
<?php

$parts = explode('-', '2068-06-15');
echo $parts[0];


?>


Output:
1
2068


Create a new paste based on this one


Comments: