PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Wed Nov 13, 2019 2:56 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Sep 10, 2014 5:54 am 
Offline
Forum Commoner

Joined: Wed Sep 06, 2006 6:05 am
Posts: 68
Syntax: [ Download ] [ Hide ]

<?php

class A {
  public static function e() {
    echo "here\n";
    echo isset($this) ? 'This Exist' : 'This Not Exist';
    echo "\n";
  }

}

$a = new A();
$a->e();


 


it return This Not Exist


thanks.


Top
 Profile  
 
PostPosted: Wed Sep 10, 2014 7:00 am 
Offline
Moderator
User avatar

Joined: Tue Nov 09, 2010 3:39 pm
Posts: 6425
Location: Montreal, Canada
You don't. What is it you're trying to do?

_________________


Top
 Profile  
 
PostPosted: Thu Sep 11, 2014 1:40 am 
Offline
Forum Newbie

Joined: Tue Aug 12, 2014 6:13 am
Posts: 19
Location: Chennai, India

_________________
Chris, Php Developer and Programmer,
https://www.phpfreelanceprogrammer.com/


Top
 Profile  
 
PostPosted: Thu Sep 11, 2014 2:16 am 
Offline
Spammer :|
User avatar

Joined: Wed Oct 15, 2008 2:35 am
Posts: 6617
Location: WA, USA


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group