[php-src] Issue #8010: `basename()` not working propely in 8.0.14

From: Date: Sun, 30 Jan 2022 07:29:46 +0000
Subject: [php-src] Issue #8010: `basename()` not working propely in 8.0.14
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-239352@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8010 Author: foremtehan ### Description The following code: ```php <?php namespace Application\Path; class Test{ } echo basename(Test::class); ``` Resulted in this output: ``` Application\Path\Test ``` But I expected this output instead: ``` Test ``` In my local env which has php version 8.0.0 the basename function works properly but in my production: php 8.0.14 with swoole and laravel it not working correctly ### PHP Version PHP 8.0.14 ### Operating System Ubuntu 20.04 heroku

« previous php.bugs (#239352) next »