<?php
function P($x) {if (is_int($x)) $x=chr($x); print($x);}
define('_', ord('_'));
define('l', ord('|'));
$R=10; $C=10; $u=0;

for(;P("\n"),$R--;P("|"))for($e=$C;$e--;P(_+($u++/8)%2))P(l+($u/4)%2);