note 123778 added to function.pathinfo

From: Date: Mon, 15 Apr 2019 04:11:18 +0000
Subject: note 123778 added to function.pathinfo
Groups: php.notes 
Request: Send a blank email to php-notes+get-210601@lists.php.net to get a copy of this message
<?php // suppose we are using a path like = www/myfiles/script.js const FILE = "www/myfiles/script.js"; // print file name echo pathinfo(FILE,PATHINFO_FILENAME)."\n"; // print file extension echo pathinfo(FILE,PATHINFO_EXTENSION)."\n"; // print file Full name echo pathinfo(FILE,PATHINFO_BASENAME)."\n"; // print file directory name echo pathinfo(FILE,PATHINFO_DIRNAME)."\n"; ---- Server IP: 208.43.231.9 Probable Submitter: 185.85.3.142 (proxied: 42.0.5.226) ---- Manual Page -- http://php.net/manual/en/function.pathinfo.php Edit -- https://master.php.net/note/edit/123778 Del: integrated -- https://master.php.net/note/delete/123778/integrated Del: useless -- https://master.php.net/note/delete/123778/useless Del: bad code -- https://master.php.net/note/delete/123778/bad+code Del: spam -- https://master.php.net/note/delete/123778/spam Del: non-english -- https://master.php.net/note/delete/123778/non-english Del: in docs -- https://master.php.net/note/delete/123778/in+docs Del: other reasons-- https://master.php.net/note/delete/123778 Reject -- https://master.php.net/note/reject/123778 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#210601) next »