3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $outputDir="RAZMIK"; $dbName="panor"; $handle = fopen($outputDir.'/db-backup-'.$dbName.'-'.date("Ymd-His", time()).'.sql','w+'); echo"$handle";
Output for 4.3.2 - 7.1.0
Warning: fopen(RAZMIK/db-backup-panor-20130708-083029.sql): failed to open stream: No such file or directory in /in/r9s8M on line 4
Output for 4.3.0 - 4.3.1
Warning: fopen(RAZMIK/db-backup-panor-20130708-083029.sql) [http://www.php.net/function.fopen]: failed to create stream: No such file or directory in /in/r9s8M on line 4