3v4l.org

run code in 300+ PHP versions simultaneously
<?php $station = (object) array( 'id' => 'asl1k2l2', 'name' => 'Star', 'brandId' => 12, 'selfReport' => 0, 'checked' => 0, 'mts' => 1, 'streetAddress' => 'Berrenrather Straße 12', 'zipCode' => 50937, 'cityName' => 'Köln', 'countryCode' => 'DE', 'phone' => '+49221123456', 'coordinates' => (object) array( 'lat' => '50.467839', 'lng' => '7.92821', ), 'openHours' => 'Mo-So 0:00-24:00', 'fuelOrder' => (object) array(1,2), 'fuelTypes' => (object) array( (object) array( 'id' => 1, 'name' => 'Diesel', ), (object) array( 'id' => 2, 'name' => 'Benzin', ) ), ); print $station->id . PHP_EOL; print $station->streetAddress . PHP_EOL; print $station->phone . PHP_EOL; print $station->coordinates->lat . PHP_EOL; print $station->fuelTypes(0)->name . PHP_EOL;

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.0070.01018.42
8.3.50.0100.01021.14
8.3.40.0040.01118.89
8.3.30.0040.01120.35
8.3.20.0030.00618.77
8.3.10.0070.00020.94
8.3.00.0040.00422.36
8.2.180.0140.00716.75
8.2.170.0160.00322.96
8.2.160.0070.00720.53
8.2.150.0000.00824.18
8.2.140.0030.00524.66
8.2.130.0070.00026.16
8.2.120.0050.00320.98
8.2.110.0090.00020.98
8.2.100.0120.00018.03
8.2.90.0050.00319.40
8.2.80.0060.00317.97
8.2.70.0050.00317.75
8.2.60.0050.00217.93
8.2.50.0040.00418.07
8.2.40.0080.00018.03
8.2.30.0000.00719.31
8.2.20.0040.00417.70
8.2.10.0040.00417.88
8.2.00.0040.00417.87
8.1.280.0110.00325.92
8.1.270.0000.00723.99
8.1.260.0050.00226.35
8.1.250.0080.00028.09
8.1.240.0040.00422.20
8.1.230.0070.00420.86
8.1.220.0030.00617.76
8.1.210.0030.00518.77
8.1.200.0000.00917.48
8.1.190.0000.00717.64
8.1.180.0050.00318.10
8.1.170.0000.00818.59
8.1.160.0040.00418.91
8.1.150.0000.00718.71
8.1.140.0040.00417.50
8.1.130.0000.00717.68
8.1.120.0000.00717.50
8.1.110.0000.00817.36
8.1.100.0000.00817.51
8.1.90.0030.00517.50
8.1.80.0070.00017.43
8.1.70.0000.00717.36
8.1.60.0060.00317.48
8.1.50.0070.00017.43
8.1.40.0000.00717.56
8.1.30.0040.00417.70
8.1.20.0000.00817.60
8.1.10.0000.00817.62
8.1.00.0000.00717.50
8.0.300.0040.00418.77
8.0.290.0050.00216.75
8.0.280.0050.00318.52
8.0.270.0050.00317.27
8.0.260.0080.00016.94
8.0.250.0070.00017.05
8.0.240.0000.00817.03
8.0.230.0030.00316.98
8.0.220.0030.00316.96
8.0.210.0050.00316.97
8.0.200.0030.00317.01
8.0.190.0000.00816.93
8.0.180.0070.00016.98
8.0.170.0030.00617.02
8.0.160.0000.00716.80
8.0.150.0030.00316.77
8.0.140.0040.00416.96
8.0.130.0060.00013.44
8.0.120.0080.00016.82
8.0.110.0000.00816.81
8.0.100.0040.00416.85
8.0.90.0040.00416.92
8.0.80.0080.00817.00
8.0.70.0080.00016.97
8.0.60.0000.00816.93
8.0.50.0030.00616.87
8.0.30.0150.00317.16
8.0.20.0090.01217.40
8.0.10.0030.00517.05
8.0.00.0010.01616.70
7.4.330.0000.00516.73
7.4.320.0030.00316.52
7.4.300.0000.00716.57
7.4.290.0030.00316.51
7.4.280.0000.00716.40
7.4.270.0020.00516.52
7.4.260.0000.00513.29
7.4.250.0050.00316.41
7.4.240.0050.00316.53
7.4.230.0040.00416.50
7.4.220.0120.00616.62
7.4.210.0070.00716.51
7.4.200.0060.00016.38
7.4.190.0060.00016.75
7.4.160.0090.00616.40
7.4.150.0160.00617.40
7.4.140.0080.00817.86
7.4.130.0130.00416.63
7.4.120.0120.00616.59
7.4.110.0060.01016.34
7.4.100.0050.01516.51
7.4.90.0130.01016.59
7.4.80.0090.00919.39
7.4.70.0070.01116.47
7.4.60.0120.00316.64
7.4.50.0000.00816.35
7.4.40.0070.01122.77
7.4.30.0100.01016.41
7.4.00.0060.00614.76
7.3.330.0030.00313.18
7.3.320.0020.00213.20
7.3.310.0030.00516.23
7.3.300.0040.00416.28
7.3.290.0060.00916.24
7.3.280.0070.00816.25
7.3.270.0170.00017.40
7.3.260.0090.01118.24
7.3.250.0100.01316.38
7.3.240.0130.00816.32
7.3.230.0060.00916.39
7.3.210.0140.00316.25
7.3.200.0080.01219.39
7.3.190.0090.00916.34
7.3.180.0070.01016.28
7.3.170.0060.01016.40
7.3.160.0050.01016.50
7.3.120.0030.01214.66
7.2.330.0060.01216.86
7.2.320.0160.00616.68
7.2.310.0170.00916.61
7.2.300.0000.01716.42
7.2.290.0110.00716.48
7.2.60.0000.01017.05
7.2.00.0030.01319.22
7.1.200.0030.00915.84
7.1.100.0060.00618.08
7.1.70.0050.00317.09
7.1.60.0090.01619.17
7.1.50.0160.01017.10
7.1.00.0000.04722.41
7.0.200.0560.00014.89
7.0.140.0000.07322.15
7.0.60.0030.06020.03
7.0.50.0070.07717.93
7.0.40.0070.07720.06
7.0.30.0330.07320.21
7.0.20.0300.06720.30
7.0.10.0070.06020.33
7.0.00.0070.05320.01
5.6.210.0130.07720.70
5.6.200.0100.07718.18
5.6.190.0100.03720.61
5.6.180.0370.05720.57
5.6.170.0470.06720.45
5.6.160.0070.08320.41
5.6.150.0070.07018.15
5.6.140.0130.07718.18
5.6.130.0170.02718.07
5.6.120.0070.04320.98
5.6.110.0000.04721.11
5.6.100.0070.05320.97
5.6.90.0070.06020.97
5.6.80.0100.04320.28
5.5.350.0170.03020.44
5.5.340.0100.05317.98
5.5.330.0070.04720.56
5.5.320.0330.06320.34
5.5.310.0200.04320.27
5.5.300.0070.08017.98
5.5.290.0030.05717.98
5.5.280.0000.04720.88
5.5.270.0130.07720.75
5.5.260.0130.07320.84
5.5.250.0030.05020.61
5.5.240.0000.07720.15
5.4.450.0230.04719.41
5.4.440.0270.03019.42
5.4.430.0300.04319.48
5.4.420.0300.04019.48
5.4.410.0200.08019.36
5.4.400.0200.05319.10
5.4.390.0230.04718.91
5.4.380.0200.03319.08
5.4.370.0200.03319.09
5.4.360.0130.04019.09
5.4.350.0100.04019.05
5.4.340.0130.04318.90
5.4.320.0130.06019.21
5.4.310.0200.03019.09
5.4.300.0170.03719.15
5.4.290.0200.03319.09
5.4.280.0200.03319.09
5.4.270.0230.03318.92
5.4.260.0100.04319.07
5.4.250.0070.04318.91
5.4.240.0300.02719.06
5.4.230.0070.04319.13
5.4.220.0130.03719.09
5.4.210.0130.03718.78
5.4.200.0170.04019.12
5.4.190.0200.03718.87
5.4.180.0130.04718.94
5.4.170.0100.04018.91
5.4.160.0200.03019.22
5.4.150.0100.04318.93
5.4.140.0130.03716.27
5.4.130.0130.03316.26
5.4.120.0100.06716.18
5.4.110.0130.03716.06
5.4.100.0130.04016.20
5.4.90.0330.05716.29
5.4.80.0230.06716.37
5.4.70.0170.05016.46
5.4.60.0270.04016.37
5.4.50.0230.03716.36
5.4.40.0170.03716.16
5.4.30.0170.05716.27
5.4.20.0130.03716.33
5.4.10.0170.04716.20
5.4.00.0170.07015.78
5.3.290.0270.02714.76
5.3.280.0170.03714.55
5.3.270.0130.03714.59
5.3.260.0170.03714.45
5.3.250.0070.07014.46
5.3.240.0200.03014.46
5.3.230.0200.03714.55
5.3.220.0170.04314.41
5.3.210.0170.03714.52
5.3.200.0100.04014.55
5.3.190.0200.04014.59
5.3.180.0130.04014.40
5.3.170.0200.05314.41
5.3.160.0230.05714.52
5.3.150.0230.05314.51
5.3.140.0170.04014.59
5.3.130.0130.06714.64
5.3.120.0130.04714.41
5.3.110.0200.05014.48
5.3.100.0200.03714.08
5.3.90.0200.03313.87
5.3.80.0230.03314.07
5.3.70.0230.06313.86
5.3.60.0200.03713.85
5.3.50.0130.04013.80
5.3.40.0130.04313.78
5.3.30.0270.05313.89
5.3.20.0370.02313.57
5.3.10.0300.06713.52
5.3.00.0230.04013.59
5.2.170.0130.04011.93
5.2.160.0170.02711.93
5.2.150.0100.03311.93
5.2.140.0230.05711.93
5.2.130.0130.06311.93
5.2.120.0270.03011.93
5.2.110.0200.05011.93
5.2.100.0200.06011.93
5.2.90.0230.06011.93
5.2.80.0200.05311.93
5.2.70.0200.04311.93
5.2.60.0300.05311.93
5.2.50.0270.05311.93
5.2.40.0170.03311.93
5.2.30.0230.05011.93
5.2.20.0200.05711.93
5.2.10.0270.04711.93
5.2.00.0170.04011.93
5.1.60.0100.03011.93
5.1.50.0170.04311.93
5.1.40.0130.02711.93
5.1.30.0100.02711.93
5.1.20.0230.02711.93
5.1.10.0170.03711.93
5.1.00.0070.03011.93
5.0.50.0100.02311.93
5.0.40.0070.01711.93
5.0.30.0100.06711.93
5.0.20.0100.03711.93
5.0.10.0130.02711.93
5.0.00.0130.05711.93
4.4.90.0130.02311.93
4.4.80.0130.02711.93
4.4.70.0030.03011.93
4.4.60.0070.02011.93
4.4.50.0070.02011.93
4.4.40.0130.02011.93
4.4.30.0070.01711.93
4.4.20.0070.01311.93
4.4.10.0030.02011.93
4.4.00.0030.03311.93
4.3.110.0030.02711.93
4.3.100.0100.02011.93
4.3.90.0100.02711.93
4.3.80.0070.04311.93
4.3.70.0070.02711.93
4.3.60.0100.02011.93
4.3.50.0070.01711.93
4.3.40.0170.04711.93
4.3.30.0030.02311.93
4.3.20.0030.02311.93
4.3.10.0200.01311.93
4.3.00.0070.03311.93

preferences:
47.42 ms | 400 KiB | 5 Q