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