how to use multi Ultrasonic sensor (hc-sr04) with PCF8574 in ESP8266 (nodeMCU)

#include "Arduino.h"
#include "PCF8574.h"
PCF8574 pcf8574(0x20);
void setup(){
 Serial.begin(115200);
 pcf8574.pinMode(P2, OUTPUT); //trig
 pcf8574.pinMode(P3, INPUT); //echo
 pcf8574.begin();
}

void loop(){
 long duration, cm;  
 pcf8574.digitalWrite(P2, LOW);
 delayMicroseconds(2);  
 pcf8574.digitalWrite(P2, HIGH);
 delayMicroseconds(5);
 pcf8574.digitalWrite(P2, LOW);
 duration = pcf8574.digitalRead(P3);
 Serial.println(duration);
}

I can't read the Echo form PCF8574. It always 0. I also use #include , pcf8574.read(3) still 0.

duration = pcf8574.digitalRead(P3); It’s only ever going to be 0 or 1.

Please remember to use code tags when posting code

AWOL:
duration = pcf8574.digitalRead(P3); It's only ever going to be 0 or 1.

Please remember to use code tags when posting code

I can't use pulseIn with pcf8574 library, How can I get value from ECHO.

I can't use pulseIn with pcf8574 library

You could, if you added an appropriate method to the library.

You MUST determine the time interval between sending the pulse and getting the response, somehow.

AWOL:
duration = pcf8574.digitalRead(P3); It's only ever going to be 0 or 1.

Please remember to use code tags when posting code

why it never going to be 1, If value = 1 and 0 so I can calculate time between value.

Nobody said that "it never going to be 1". What they said is that it's never going to return a duration, as your code seems to expect. pcf8574.digitalRead(P3) will only return the state of a pin, HIGH (1), or LOW (0).

If value = 1 and 0 so I can calculate time between value.

The value will change from 0 to 1 and back to 0. You need to notice both transitions, and record when each one happens. In order to not miss a transition, you won't be able to do anything else except poll the pin over and over. digitalRead() may even be too slow to catch the transitions. And, the overhead of calling the digitalRead() method of a class instance isn't going to make matters any better.

Look at how pulseIn() is defined.