lob_aliases.phpt 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. --TEST--
  2. LOB method aliases
  3. --EXTENSIONS--
  4. oci8
  5. --SKIPIF--
  6. <?php
  7. $target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
  8. require(__DIR__.'/skipif.inc');
  9. ?>
  10. --FILE--
  11. <?php
  12. // Function existence
  13. echo "Test 1\n";
  14. var_dump(function_exists('oci_lob_load'));
  15. var_dump(function_exists('oci_lob_tell'));
  16. var_dump(function_exists('oci_lob_truncate'));
  17. var_dump(function_exists('oci_lob_erase'));
  18. var_dump(function_exists('oci_lob_flush'));
  19. var_dump(function_exists('ocisetbufferinglob'));
  20. var_dump(function_exists('ocigetbufferinglob'));
  21. var_dump(function_exists('oci_lob_rewind'));
  22. var_dump(function_exists('oci_lob_read'));
  23. var_dump(function_exists('oci_lob_eof'));
  24. var_dump(function_exists('oci_lob_seek'));
  25. var_dump(function_exists('oci_lob_write'));
  26. var_dump(function_exists('oci_lob_append'));
  27. var_dump(function_exists('oci_lob_size'));
  28. var_dump(function_exists('oci_lob_export'));
  29. var_dump(function_exists('oci_lob_export'));
  30. var_dump(function_exists('oci_lob_import'));
  31. var_dump(function_exists('oci_lob_save'));
  32. var_dump(function_exists('oci_lob_import'));
  33. var_dump(function_exists('oci_free_descriptor'));
  34. echo "Done\n";
  35. ?>
  36. --EXPECT--
  37. Test 1
  38. bool(true)
  39. bool(true)
  40. bool(true)
  41. bool(true)
  42. bool(true)
  43. bool(true)
  44. bool(true)
  45. bool(true)
  46. bool(true)
  47. bool(true)
  48. bool(true)
  49. bool(true)
  50. bool(true)
  51. bool(true)
  52. bool(true)
  53. bool(true)
  54. bool(true)
  55. bool(true)
  56. bool(true)
  57. bool(true)
  58. Done