[ create a new paste ] login | about

Link: http://codepad.org/FcJD9MXJ    [ raw code | output | fork ]

PHP, pasted on Mar 14:
1
2
3
4
5
6
7
8
9
10
<?
$value = 1?2:3;
echo($value);
?>

<?
$col = "subject";
$col = preg_match('/^(subject|content|writer)$/isDU',$col) ? $col : '';
echo($col);
?>


Output:
1
2
3
2

Warning: preg_match(): Internal pcre_fullinfo() error -3 on line 8


Create a new paste based on this one


Comments: