3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s1 = 'Vessel: Test Tester Voyage ID: 40W Ocean Contract #: DSAg1ADS4665 Closing Date: 02 Aug 2017 Vessel Sailing Date: 07 Aug 2017 Port of Discharge: PORT HURON Port of Loading:VANCOUVER Pier or Place of Receipt:TORONTO Container Pickup Location: ULTRA'; $s2 = 'Vessel: Test Testing Voyage ID: 40W Ocean Contract #: DSAg1ADS4665 Closing Date: 02 Aug 2017 Vessel Sailing Date: 12 Aug 2017 Port of Discharge: PORT HURON Port of Loading:VANCOUVER Pier or Place of Receipt:TORONTO Container Pickup Location: ULTRA'; echo xdiff_string_diff($s1, $s2);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0090.00918.43
8.3.50.0040.01116.26
8.3.40.0040.01118.80
8.3.30.0140.00018.67
8.3.20.0100.00720.34
8.3.10.0050.00323.70
8.3.00.0030.00522.13
8.2.180.0120.00316.88
8.2.170.0040.01122.96
8.2.160.0120.00418.90
8.2.150.0070.00724.18
8.2.140.0000.00724.66
8.2.130.0040.00421.04
8.2.120.0040.00426.35
8.2.110.0030.00722.43
8.2.100.0040.00717.90
8.2.90.0050.00319.09
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0040.00417.80
8.2.50.0050.00318.10
8.2.40.0040.00420.36
8.2.30.0000.00820.84
8.2.20.0040.00417.95
8.2.10.0000.00818.03
8.2.00.0000.00818.03
8.1.280.0170.00325.92
8.1.270.0050.00222.04
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0080.00023.98
8.1.230.0040.00817.70
8.1.220.0040.00417.79
8.1.210.0000.00918.77
8.1.200.0030.00617.23
8.1.190.0030.00617.35
8.1.180.0040.00418.10
8.1.170.0040.00420.68
8.1.160.0000.00719.06
8.1.150.0040.00418.87
8.1.140.0050.00319.50
8.1.130.0060.00318.82
8.1.120.0070.00017.31
8.1.110.0050.00317.25
8.1.100.0030.00517.30
8.1.90.0000.00717.38
8.1.80.0050.00217.29
8.1.70.0070.00017.41
8.1.60.0070.00017.48
8.1.50.0030.00517.50
8.1.40.0000.00917.40
8.1.30.0030.00617.55
8.1.20.0030.00517.54
8.1.10.0030.00517.64
8.1.00.0060.00317.50
8.0.300.0000.00918.77
8.0.290.0070.00016.75
8.0.280.0040.00418.38
8.0.270.0040.00417.20
8.0.260.0030.00316.84
8.0.250.0070.00016.89
8.0.240.0000.00716.96
8.0.230.0030.00316.88
8.0.220.0030.00316.80
8.0.210.0030.00316.79
8.0.200.0000.00816.92
8.0.190.0050.00316.97
8.0.180.0000.00816.91
8.0.170.0040.00416.81
8.0.160.0000.00716.87
8.0.150.0000.00716.86
8.0.140.0000.00716.76
8.0.130.0000.00613.32
8.0.120.0000.00716.77
8.0.110.0070.00016.70
8.0.100.0050.00216.80
8.0.90.0000.00716.95
8.0.80.0140.00716.85
8.0.70.0040.00416.77
8.0.60.0000.00716.86
8.0.50.0040.00416.95
8.0.30.0130.00716.97
8.0.20.0100.00917.40
8.0.10.0050.00216.86
8.0.00.0040.01416.86
7.4.330.0050.00015.55
7.4.320.0030.00316.34
7.4.300.0030.00316.61
7.4.290.0040.00416.64
7.4.280.0000.00716.50
7.4.270.0030.00316.61
7.4.260.0060.00316.47
7.4.250.0000.00716.45
7.4.240.0070.00016.58
7.4.230.0030.00316.60
7.4.220.0070.01416.54
7.4.210.0100.00716.63
7.4.200.0030.00316.59
7.4.160.0070.00916.55
7.4.150.0090.00917.40
7.4.140.0060.01117.86
7.4.130.0140.00616.53
7.4.120.0110.01016.55
7.4.110.0140.00416.49
7.4.100.0090.01116.72
7.4.90.0160.00616.59
7.4.80.0030.01319.39
7.4.70.0070.01016.52
7.4.60.0130.00316.48
7.4.50.0090.00616.36
7.4.40.0170.00016.61
7.4.30.0200.00316.51
7.4.00.0100.00715.07
7.3.330.0050.00013.24
7.3.320.0030.00313.16
7.3.310.0070.00016.32
7.3.300.0000.00616.36
7.3.290.0070.00816.30
7.3.280.0100.00716.29
7.3.270.0150.00317.40
7.3.260.0130.00816.38
7.3.250.0080.01116.43
7.3.240.0100.00716.39
7.3.230.0090.00916.52
7.3.210.0060.00916.51
7.3.200.0140.00416.42
7.3.190.0090.00916.18
7.3.180.0060.00916.42
7.3.170.0030.01316.39
7.3.160.0110.00516.51
7.2.330.0130.00616.55
7.2.320.0090.00916.54
7.2.310.0100.00716.31
7.2.300.0030.01416.42
7.2.290.0120.00616.50
7.2.60.0030.01016.55
7.2.00.0000.01519.43
7.1.200.0100.00715.24
7.1.100.0000.01218.25
7.1.70.0060.00617.04
7.1.60.0070.00716.98
7.1.50.0070.01016.87
7.1.40.0000.01216.79
7.1.30.0100.01016.79
7.1.20.0060.01616.79
7.1.10.0050.00516.79
7.1.00.0000.00916.79
7.0.200.0000.01216.79
7.0.190.0000.01016.79
7.0.180.0050.00516.79
7.0.170.0090.00616.79
7.0.160.0070.01016.79
7.0.150.0000.00816.79
7.0.140.0000.01516.79
7.0.130.0050.00316.79
7.0.120.0100.00016.79
7.0.110.0030.01416.79
7.0.100.0030.00616.79
7.0.90.0040.00416.79
7.0.80.0000.00816.79
7.0.70.0060.00916.79
7.0.60.0000.00716.79
7.0.50.0060.00916.79
7.0.40.0000.01516.79
7.0.30.0030.00916.79
7.0.20.0000.00716.79
7.0.10.0060.00316.79
7.0.00.0030.00916.79

preferences:
75.3 ms | 400 KiB | 5 Q