3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $adapter = 'Dropbox'; $leagueAdapter = '\\League\\Flysystem\\Adapter\\' . $adapter; var_dump($leagueAdapter); $leagueAdapter = '\\League\\Flysystem\\' . $adapter . '\\' . $adapter . 'Adapter'; var_dump($leagueAdapter);
Output for 4.3.0 - 7.2.0
string(33) "\League\Flysystem\Adapter\Dropbox" string(40) "\League\Flysystem\Dropbox\DropboxAdapter"