略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: KTaglib_MPEG_File::__construct

2024-04-27

KTaglib_MPEG_File::__construct

(0.0.1)

KTaglib_MPEG_File::__constructOpens a new file

说明

public KTaglib_MPEG_File::__construct ( string $filename )

Opens a new MPEG file.

参数

filename

The file to read

范例

Example #1 Opens a new MP3 file and read the title

<?php
$mpeg 
= new KTaglib_MPEG_File('example.mp3');
echo 
$mpeg->getID3v1Tag()->getTitle();
?>
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/mpegfile.construct.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3