1--TEST--
2Bug #22904 (magic mode failed for cybase with '\0')
3--FILE--
4not active yet
5<?php
6
7/*
8ini_set("magic_quotes_sybase","on");
9test();
10ini_set("magic_quotes_sybase","off");
11test();
12*/
13function test(){
14	$buf = 'g\g"\0g'."'";
15	$slashed = addslashes($buf);
16	echo "$buf\n";
17	echo "$slashed\n";
18	echo stripslashes($slashed."\n");
19/*
20g\g"\0g'
21g\\g"\\0g''
22g\g"\0g'
23g\g"\0g'
24g\\g\"\\0g\'
25g\g"\0g'
26*/
27}
28?>
29--EXPECT--
30not active yet
31