Answers for "end(explode php)"

PHP
1

explode in php

<?php
$str = "Hello world. It's a beautiful day.";
$split = explode(" ",$str);
$hello = $split[0];
$world = $split[1];
?>
Posted by: Guest on August-13-2021
4

php explode end

$url = explode("/", URL::current());
echo end($url);
Posted by: Guest on July-08-2020

Browse Popular Code Answers by Language