Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Separate digits and text

php

<?php

print_r(divide_sample('центр25'));

function divide_sample($sample_number)
{
    preg_match("/([^\d]+)(\d+)/", $sample_number, $pieces);

    return [$pieces[1], $pieces[2]];
}

Kishore

php

<html>
<head>
<title>Online PHP Script Execution</title>
</head>
<body>
<?php
   echo "<h1>Hello, PHP!</h1>\n";
?>
</body>
</html>

gerar.xml

php

<RelativeLayout xmlns:android="https://schemas.android.com/apk/res/android"
        xmlns:tools="https://schemas.android.com/tools"
        android:layout_height="match_parent"
        android:layout_width="match_parent"
        android:paddingLeft="@dimen/activity_horizontal_margin"
        android:paddingRight="@dimen/activity_horizontal_margin"
        android:paddingTop="@dimen/activity_vertical_margin"
        android:paddingBottom="@dimen/activity_vertical_margin"
        tools:context=".MainActivity">

        <TextView android:text="@string/hello_world"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content" />

        <com.google.android.gms.ads.AdView
            xmlns:ads="https://schemas.android.com/apk/res-auto"
            android:id="@+id/adView"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
            android:layout_alignParentBottom="true"
            ads:adSize="BANNER"
            ads:adUnitId="ca-app-pub-7715210360510192/1842424005">
        </com.google.android.gms.ads.AdView>

</RelativeLayout>

Execute PHP Online

php

<?php
  $name = "Misha";
  $cool = "name";
  echo "test,   ${$cool}" ;
?>

Execute PHP Online

php

<?php

/***  Matches the datamatrix strings  ***///
$regex = "/\|([a-zA-Z0-9-@\/.]{0,})/";

$datamatrix = "|AG02|7|EBT|1|7609515||4674B|3311||T|12565|31703181300056|[email protected]||||5318500|9010100|689.00|||8|145|||||||E-ID-304/22|84729.02||";

preg_match_all($regex, $datamatrix, $matches);

//print_r($matches);

/***  print the array  ***///

<button type="button" onclick="print_data('web')">BV Web!</button>
<button type="button" onclick="print_data('suspect')">BV AGEFOS Suspect!</button>

function print_data($type){
    $array = array(
    "Version" => $matches[1][0],
    "Periode" => $matches[1][1],
    "TYP_DOC" => $matches[1][2],
    "PARTENAIRE" => $matches[1][3],
    "ENT_ID_AGEFOS" => $matches[1][4],
    "ENT_ID_PARTENAIRE" => $matches[1][5],
    "CODE APE" => $matches[1][6],
    "CODE IDCC" => $matches[1][7],
    "CODE BRANCHE" => $matches[1][8],
    "CODE_GRP_1" => $matches[1][9],
    "CODE_GRP_2" => $matches[1][10],
    "ENT_NUM_SIRET" => $matches[1][11],
    "ENT_EMAIL" => $matches[1][12],
    "CAB_NUM_SIRET" => $matches[1][13],
    "CAB_EMAIL" => $matches[1][14],
    "MS_FPC" => $matches[1][15],
    "MS_TA hors AM" => $matches[1][16],
    "EFFECTIF_MT" => $matches[1][17],
    "EFFECTIF_F" => $matches[1][18],
    "EFFECTIF_H" => $matches[1][19],
    "NB_APPRENTIS" => $matches[1][20],
    "NB_JOURS_STAG_A" => $matches[1][21],
    "NB_JOURS_STAGE_B" => $matches[1][22],
    "ANNEE_FRANCHISSEMENT_SEUIL" => $matches[1][23],
    "MS_CDD" => $matches[1][24],
    "EFFECTIF_CDD_MT" => $matches[1][25],
    "EFFECTIF_CDD_F" => $matches[1][26],
    "EFFECTIF_CDD_H" => $matches[1][27],
    "NUM_BV" => $matches[1][28],
    "MONTANT_TTC" => $matches[1][29]
);
    switch ($type) {
    case 'web':
        echo "web";
        break;
    case 'suspect':
        echo "suspect";
        break;
    }
    
    //print_r($array);
}

Execute PHP Online

php

#!/usr/bin/perl
use CGI':standard';
print "content-type:text/html","\n\n";
print "<html>\n";
print "<head> <title> About this server </title> </head>\n";
print "<body><h1> About this server </h1>","\n";
print "<hr>";
print "Server name :",$ENV{'SERVER_NAME'},"<br>";
print "Running on port :",$ENV{'SERVER_PORT'},"<br>";
print "Server Software :",$ENV{'SERVER_SOFTWARE'},"<br>";
print "CGI-Revision :",$ENV{'GATEWAY_INTERFACE'},"<br>";
print "<hr>\n";
print "</body></html>\n";
exit(0);

meon.php

php

<html>
<head>
<title>Online PHP Script Execution</title>
</head>
<body>
<?php
   echo "<h1>Hello, PHP!</h1>\n";
?>
</body>
</html>

hospital

php

<html>
<head>
<title>Online PHP Script Execution</title>
</head>
<body>
<?php
   echo "<h1>Hello, PHP!</h1>\n";
?>
</body>
</html>

mbjk

php

<?php

class Student {
    public $name="ssss";
    public $marks="5";

    
    function p()
    {   
        echo $this->marks;
    }
};

class P extends Student
{
    function o($m)
    {
       
       echo $this->p();
       return $this->marks=$m;
    }
}
    $ob=new Student();
    echo $ob->name;
    $o=new Student();
    $o->p();
?>

https://www.smsgateway.center/SMSApi/rest/senduserId=$userId&password=$password&senderId=$senderId&sendMethod=$sendMethod&msgType=$messageType&mobile=$mobile&msg=$msg&duplicateCheck=true&format=json.

php

https://www.smsgateway.center/SMSApi/rest/senduserId=$userId&password=$password&senderId=$senderId&sendMethod=$sendMethod&msgType=$messageType&mobile=$mobile&msg=$msg&duplicateCheck=true&format=json.

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.