We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3393804 commit 5e5d252Copy full SHA for 5e5d252
php-runtime.el
@@ -222,5 +222,10 @@ Pass INPUT-BUFFER to PHP executable as STDIN."
222
(when php-runtime--kill-temp-output-buffer
223
(kill-buffer (php-runtime-stdout-buffer executor))))))
224
225
+;;;###autoload
226
+(defun php-runtime-extension-loaded-p (extension)
227
+ "Return T if EXTENSION is loaded."
228
+ (string= "1" (php-runtime-expr (format "extension_loaded(%s)" (php-runtime-quote-string extension)))))
229
+
230
(provide 'php-runtime)
231
;;; php-runtime.el ends here
0 commit comments