在字符串中如何保留$
$str="百度影音$$1024高清国语中字版$bdhd://1183200391|E067EEAB1560E1FDCE2F8927625E4AEF|钢铁侠3.HD1024高清国语中字.rmvb$bdhd#1024高清中英双字版$bdhd://1086150825|D54A605693F6EFEB6EB6EE212C618CA1|钢铁侠3.BD1024高清中英双字.rmvb$bdhd#1280超清中英双字MKV版$bdhd://2561208627|C2E6E4ECCEE8BB364D92F9A1201E99B1|钢铁侠3.BD1280超清中英双字.mkv$bdhd#1280高清中英双字版$bdhd://1479559068|AFFECBC57E728AA3D335741CB857D0C9|钢铁侠3.BD1280高清中英双字.rmvb$bdhd$$$迅播高清$$1024高清国语中字版$gvod://xlj.2tu.cc:8089/061C15A782E45412F4DF7AB71D511DA6DE969A70/1183200391/[迅雷下载www.2tu.cc]钢铁侠3.HD1024高清国语中字.rmvb$gvod#1024高清中英双字版$gvod://xlj.2tu.cc:8089/5F10D84070A1D5854FA855F51D7B0AAB661FC316/1086150825/[迅雷下载www.2tu.cc]钢铁侠3.BD1024高清中英双字.rmvb$gvod#1280超清中英双字MKV版$gvod://xlj.2tu.cc:8089/1776E72DB88ECAA725270302A8F508760D85EB8F/2561208627/[迅雷下载www.2tu.cc]钢铁侠3.BD1280超清中英双字.mkv$gvod#1280高清中英双字版$gvod://xlj.2tu.cc:8089/C91DCC7E81D9CE99C1103AFB015FB9A6D5B475A9/1479559068/[迅雷下载www.2tu.cc]钢铁侠3.BD1280高清中英双字.rmvb$gvod";
我想保留$为什么输出就都不见了 需要加什么
回复讨论(解决方案)
$str='$1$2$3';
使用单引号就好了,不涉及变量的字符串就使用单引号嘛。
加引号....

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Long URLs, often cluttered with keywords and tracking parameters, can deter visitors. A URL shortening script offers a solution, creating concise links ideal for social media and other platforms. These scripts are valuable for individual websites a

Following its high-profile acquisition by Facebook in 2012, Instagram adopted two sets of APIs for third-party use. These are the Instagram Graph API and the Instagram Basic Display API.As a developer building an app that requires information from a

Laravel simplifies handling temporary session data using its intuitive flash methods. This is perfect for displaying brief messages, alerts, or notifications within your application. Data persists only for the subsequent request by default: $request-

This is the second and final part of the series on building a React application with a Laravel back-end. In the first part of the series, we created a RESTful API using Laravel for a basic product-listing application. In this tutorial, we will be dev

Laravel provides concise HTTP response simulation syntax, simplifying HTTP interaction testing. This approach significantly reduces code redundancy while making your test simulation more intuitive. The basic implementation provides a variety of response type shortcuts: use Illuminate\Support\Facades\Http; Http::fake([ 'google.com' => 'Hello World', 'github.com' => ['foo' => 'bar'], 'forge.laravel.com' =>

The PHP Client URL (cURL) extension is a powerful tool for developers, enabling seamless interaction with remote servers and REST APIs. By leveraging libcurl, a well-respected multi-protocol file transfer library, PHP cURL facilitates efficient execution of various network protocols, including HTTP, HTTPS, and FTP. This extension offers granular control over HTTP requests, supports multiple concurrent operations, and provides built-in security features.

Do you want to provide real-time, instant solutions to your customers' most pressing problems? Live chat lets you have real-time conversations with customers and resolve their problems instantly. It allows you to provide faster service to your custom

The 2025 PHP Landscape Survey investigates current PHP development trends. It explores framework usage, deployment methods, and challenges, aiming to provide insights for developers and businesses. The survey anticipates growth in modern PHP versio
