1--TEST--
2Bug #45986 (wrong error message for a non existant file on rename)
3--CREDITS--
4Sebastian Schürmann
5sebs@php.net
6Testfest 2009 Munich
7--FILE--
8<?php
9rename('foo', 'bar');
10?>
11--EXPECTF--
12Warning: %s in %sbug45986.php on line 2
13