<?php function testing($val) { echo "Testing with: $val\n"; return true; } $conn = new SQLite3(':memory:'); $conn->exec("CREATE TABLE test (id int)"); for ($i = 0; $i < 3; $i++) { $conn->exec("INSERT INTO test VALUES ($i)"); } $conn->createFunction('testing', 'testing', 1); $res = $conn->query('SELECT * FROM test WHERE testing(id)'); $arr = $res->fetchArray(); $arr = $res->fetchArray(); $arr = $res->fetchArray();
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`