Ticket #342: bug-php.php

File bug-php.php, 249 bytes (added by ntman, 6 months ago)
Line 
1<?php
2    if(xcache_isset('boroda')) $a = xcache_get('boroda'); else $a = array();
3    print_r($a);
4    $db = new PDO('mysql:dbname=BPLnew;unix_socket=/var/lib/mysql/mysql.sock','root','');
5    $a[] = $db->query("SELECT 1");
6    xcache_set('boroda', $a, 3000);
7?>