3v4l.org

run code in 300+ PHP versions simultaneously
<?php $username = 'param'; $launch_cmi_path = 'C:\inetpub\wwwroot\C17-TMS-LMS-Interface\moodle\test/' . $username . '.cmi'; $launch_output_path = 'C:\inetpub\wwwroot\C17-TMS-LMS-Interface\moodle\test/' . $username ; $path_parts = pathinfo( $launch_output_path); echo "1. parsing [". $launch_output_path . "]\n"; echo "dirname: " . $path_parts['dirname'], "\n"; echo "basename: " . $path_parts['basename'], "\n"; echo "extension: " . $path_parts['extension'], "\n"; echo "filename: " . $path_parts['filename'], "\n"; // since PHP 5.2.0 echo "\n\n\n2. parsing [". $launch_cmi_path . "]\n"; print_r(pathinfo($launch_cmi_path),true); ?>
Output for git.master, git.master_jit, rfc.property-hooks
1. parsing [C:\inetpub\wwwroot\C17-TMS-LMS-Interface\moodle\test/param] dirname: C:\inetpub\wwwroot\C17-TMS-LMS-Interface\moodle\test basename: param Warning: Undefined array key "extension" in /in/DHMYb on line 13 extension: filename: param 2. parsing [C:\inetpub\wwwroot\C17-TMS-LMS-Interface\moodle\test/param.cmi]

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
58.55 ms | 402 KiB | 8 Q