1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 17:08:14 +02:00
Files
archived-php-src/ext/sqlite3/tests/sqlite3_busyTimeout.phpt
Gabriel Caruso 4aabfe911e Revert "Update versions for PHP 8.0.21"
This reverts commit 6eedacdf15.
2022-07-06 12:06:48 +02:00

21 lines
435 B
PHP

--TEST--
public bool SQLite3::busyTimeout ( int $msecs );
--CREDITS--
marcosptf - <marcosptf@yahoo.com.br> - @phpsp - sao paulo - br
--SKIPIF--
<?php require 'skipif.inc'; ?>
--FILE--
<?php
require_once(__DIR__ . '/new_db.inc');
var_dump($db->busyTimeout(0));
var_dump($db->busyTimeout(null));
var_dump($db->busyTimeout(-1000));
var_dump($db->busyTimeout(1000));
$db->close();
?>
--EXPECT--
bool(true)
bool(true)
bool(true)
bool(true)