1--TEST-- 2Bug #66481: Calls to session_name() segfault when session.name is null. 3--INI-- 4session.name= 5--SKIPIF-- 6<?php include('skipif.inc'); ?> 7--FILE-- 8<?php 9 10var_dump(session_name("foo")); 11var_dump(session_name("bar")); 12--EXPECTF-- 13PHP Warning: PHP Startup: session.name cannot be a numeric or empty '' in Unknown on line 0 14 15Warning: PHP Startup: session.name cannot be a numeric or empty '' in Unknown on line 0 16string(9) "PHPSESSID" 17string(3) "foo" 18