1--TEST-- 2Bug #70272 (Segfault in pdo_mysql) 3--EXTENSIONS-- 4pdo_mysql 5--SKIPIF-- 6<?php 7require_once __DIR__ . '/inc/mysql_pdo_test.inc'; 8MySQLPDOTest::skip(); 9?> 10--FILE-- 11<?php 12$a = new stdClass(); 13$a->a = &$a; 14require_once __DIR__ . '/inc/mysql_pdo_test.inc'; 15 16$dummy = new stdClass(); 17 18$db = MySQLPDOTest::factory(); 19$dummy = null; 20 21$a->c = $db; 22$a->b = $db->prepare("select 1"); 23$a->d = $db->prepare("select 2"); 24$a->e = $db->prepare("select 3"); 25$a->f = $db->prepare("select 4"); 26gc_disable(); 27?> 28okey 29--EXPECT-- 30okey 31