3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); class TypedProperties { public int $number; public string $text; public bool $flag; public \Monolog\Logger $logger; public function run() { $this->number = '100'; $this->logger = new \Monolog\Logger('logger'); } } $typedProperties = new TypedProperties(); $typedProperties->run();

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.0040.01118.55
8.3.50.0100.00316.16
8.3.40.0090.00618.93
8.3.30.0110.00318.92
8.3.20.0000.00820.60
8.3.10.0080.00022.04
8.3.00.0040.00421.67
8.2.180.0090.00618.34
8.2.170.0090.01222.96
8.2.160.0140.00022.96
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00426.16
8.2.110.0060.00320.86
8.2.100.0040.00817.84
8.2.90.0000.00817.63
8.2.80.0090.00018.04
8.2.70.0030.00617.63
8.2.60.0000.00817.63
8.2.50.0040.00418.07
8.2.40.0110.00319.75
8.2.30.0020.00518.04
8.2.20.0040.00417.89
8.2.10.0030.00519.30
8.2.00.0040.00419.11
8.1.280.0140.00025.92
8.1.270.0080.00020.83
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0030.00817.36
8.1.230.0080.00422.71
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00317.48
8.1.190.0060.00317.23
8.1.180.0000.00718.10
8.1.170.0030.00618.53
8.1.160.0000.00718.90
8.1.150.0070.00318.83
8.1.140.0040.00420.75
8.1.130.0030.00320.18
8.1.120.0000.00717.43
8.1.110.0050.00217.41
8.1.100.0050.00317.40
8.1.90.0040.00417.37
8.1.80.0040.00417.28
8.1.70.0030.00517.28
8.1.60.0000.00817.57
8.1.50.0030.00517.49
8.1.40.0060.00317.41
8.1.30.0080.00017.70
8.1.20.0050.00317.62
8.1.10.0040.00417.54
8.1.00.0000.00817.49
8.0.300.0050.00319.60
8.0.290.0050.00216.75
8.0.280.0030.00318.39
8.0.270.0030.00318.07
8.0.260.0030.00320.02
8.0.250.0070.00016.90
8.0.240.0040.00616.88
8.0.230.0030.00316.93
8.0.220.0030.00616.82
8.0.210.0000.00716.79
8.0.200.0060.00016.94
8.0.190.0040.00416.93
8.0.180.0030.00316.91
8.0.170.0040.00416.91
8.0.160.0000.00816.79
8.0.150.0080.00016.80
8.0.140.0060.00616.82
8.0.130.0030.00313.37
8.0.120.0040.00416.82
8.0.110.0000.00716.70
8.0.100.0000.00716.81
8.0.90.0040.00416.94
8.0.80.0060.00916.82
8.0.70.0040.00416.87
8.0.60.0070.00016.76
8.0.50.0050.00316.88
8.0.30.0030.01417.08
8.0.20.0090.00917.21
8.0.10.0040.00416.88
8.0.00.0120.00617.02
7.4.330.0000.00616.84
7.4.320.0000.00616.56
7.4.300.0030.00316.50
7.4.290.0000.00816.61
7.4.280.0040.00416.45
7.4.270.0030.00516.49
7.4.260.0030.00313.30
7.4.250.0000.00716.46
7.4.240.0020.00516.57
7.4.230.0070.00016.45
7.4.220.0030.00316.50
7.4.210.0110.00416.57
7.4.200.0040.00416.68
7.4.130.0120.01216.68
7.4.120.0070.01016.67
7.4.110.0100.00716.52
7.4.100.0040.01216.32
7.4.90.0140.00316.68
7.4.80.0130.00619.39
7.4.70.0040.01216.51
7.4.60.0060.01016.57
7.4.50.0070.01116.45
7.4.40.0060.00916.63
7.4.10.0090.00916.43
7.4.00.0090.00816.52
7.3.330.0040.00416.16
7.3.320.0060.00013.07
7.3.310.0070.00016.02
7.3.300.0030.00316.19
7.3.290.0080.00816.16
7.3.260.0060.01216.33
7.3.240.0050.01116.20
7.3.230.0120.01216.32
7.3.210.0040.01516.23
7.3.200.0060.01316.47
7.3.190.0090.01216.26
7.3.180.0030.01316.35
7.3.170.0110.00416.28
7.3.160.0060.01016.14
7.3.130.0100.00716.16
7.3.120.0100.00716.20
7.3.110.0080.00916.11
7.3.100.0060.00916.19
7.3.90.0070.01016.12
7.3.80.0080.00816.16
7.3.70.0080.00916.11
7.3.60.0080.01016.13
7.3.50.0090.00916.13
7.3.40.0090.00816.15
7.3.30.0060.01216.14
7.3.20.0080.00916.14
7.3.10.0100.00916.10
7.3.00.0090.00916.12
7.2.330.0090.00916.11
7.2.320.0160.00616.20
7.2.310.0070.01016.46
7.2.300.0060.01016.34
7.2.290.0150.01116.50
7.2.260.0080.01016.30
7.2.250.0110.00716.29
7.2.240.0050.01216.21
7.2.230.0090.00816.26
7.2.220.0110.00716.20
7.2.210.0080.00916.22
7.2.200.0090.01016.25
7.2.190.0080.01216.21
7.2.180.0090.00916.30
7.2.170.0100.00816.30
7.2.160.0080.01016.26
7.2.150.0100.00816.34
7.2.140.0080.01116.21
7.2.130.0100.01016.40
7.2.120.0120.00716.29
7.2.110.0090.01016.37
7.2.100.0080.00916.31
7.2.90.0100.00916.29
7.2.80.0120.00816.30
7.2.70.0100.01016.44
7.2.60.0100.01016.30
7.2.50.0070.01316.33
7.2.40.0100.01016.29
7.2.30.0130.00816.37
7.2.20.0120.00816.30
7.2.10.0060.01316.30
7.2.00.0070.00916.34
7.1.330.0120.00715.14
7.1.320.0120.00915.21
7.1.310.0130.00915.09
7.1.300.0080.01015.05
7.1.290.0110.00815.11
7.1.280.0070.01215.17
7.1.270.0130.00415.28
7.1.260.0110.00815.13
7.1.250.0110.00815.13
7.1.240.0080.01115.19
7.1.230.0170.00315.17
7.1.220.0070.01015.09
7.1.210.0120.00815.16
7.1.200.0110.01115.21
7.1.190.0130.00515.20
7.1.180.0120.00915.18
7.1.170.0140.00715.09
7.1.160.0110.01015.14
7.1.150.0100.01015.27
7.1.140.0150.00815.16
7.1.130.0260.00615.10
7.1.120.0140.00515.17
7.1.110.0100.01315.33
7.1.100.0100.00815.22
7.1.90.0150.00815.16
7.1.80.0170.00315.19
7.1.70.0120.00715.30
7.1.60.0130.00615.11
7.1.50.0110.00815.09
7.1.40.0130.01015.17
7.1.30.0140.00915.21
7.1.20.0160.00715.20
7.1.10.0100.01115.23
7.1.00.0110.01115.17
7.0.330.0110.00815.08
7.0.320.0110.00814.90
7.0.310.0140.00915.02
7.0.300.0140.00614.96
7.0.290.0120.00614.85
7.0.280.0070.01314.95
7.0.270.0120.01114.89
7.0.260.0100.00814.90
7.0.250.0120.00714.85
7.0.240.0130.00914.96
7.0.230.0210.00915.01
7.0.220.0090.01015.05
7.0.210.0080.01414.91
7.0.200.0100.00815.02
7.0.190.0060.01214.96
7.0.180.0140.00615.00
7.0.170.0100.01014.98
7.0.160.0090.01014.93
7.0.150.0100.01214.87
7.0.140.0110.00814.85
7.0.130.0130.00614.85
7.0.120.0130.00815.04
7.0.110.0080.01014.91
7.0.100.0150.00714.92
7.0.90.0200.00414.91
7.0.80.0110.00914.89
7.0.70.0150.00314.93
7.0.60.0110.01114.98
7.0.50.0100.01015.00
7.0.40.0110.00714.86
7.0.30.0150.00914.94
7.0.20.0190.00914.91
7.0.10.0120.00914.96
7.0.00.0100.01115.03
5.6.400.0170.00415.53
5.6.390.0070.01215.71
5.6.380.0130.00915.89
5.6.370.0120.01215.73
5.6.360.0110.01215.85
5.6.350.0100.00915.50
5.6.340.0210.00615.51
5.6.330.0110.01315.79
5.6.320.0080.01115.61
5.6.310.0140.00815.49
5.6.300.0150.00815.54
5.6.290.0080.01415.60
5.6.280.0100.01115.54
5.6.270.0120.01115.57
5.6.260.0180.00815.58
5.6.250.0110.01215.63
5.6.240.0100.01215.66
5.6.230.0150.00715.55
5.6.220.0150.01015.61
5.6.210.0130.00915.63
5.6.200.0100.01015.66
5.6.190.0090.01215.61
5.6.180.0110.01215.68
5.6.170.0100.00915.54
5.6.160.0130.01115.65
5.6.150.0100.01315.57
5.6.140.0120.01115.72
5.6.130.0100.01415.53
5.6.120.0110.01015.57
5.6.110.0170.00815.42
5.6.100.0120.00915.60
5.6.90.0130.00915.64
5.6.80.0160.00915.77
5.6.70.0100.01315.38
5.6.60.0150.00715.57
5.6.50.0130.01015.57
5.6.40.0110.01115.51
5.6.30.0170.00915.52
5.6.20.0110.01215.43
5.6.10.0130.00715.48
5.6.00.0090.01415.61
5.5.380.0180.00815.62
5.5.370.0180.00915.56
5.5.360.0160.00915.44
5.5.350.0110.01215.70
5.5.340.0120.01315.74
5.5.330.0120.01215.75
5.5.320.0140.01015.34
5.5.310.0150.01115.53
5.5.300.0210.00615.45
5.5.290.0150.01115.64
5.5.280.0170.00915.52
5.5.270.0190.00815.46
5.5.260.0140.01115.55
5.5.250.0170.01015.43
5.5.240.0180.01115.49
5.5.230.0190.01015.50
5.5.220.0190.01015.40
5.5.210.0110.01315.44
5.5.200.0160.01015.69
5.5.190.0200.01015.36
5.5.180.0170.00915.50
5.5.170.0190.00815.42
5.5.160.0200.00615.36
5.5.150.0120.01315.57
5.5.140.0230.00615.60
5.5.130.0160.01215.60
5.5.120.0110.01015.46
5.5.110.0150.00915.25
5.5.100.0100.01315.37
5.5.90.0140.01015.67
5.5.80.0150.00815.52
5.5.70.0140.00815.51
5.5.60.0090.01215.49
5.5.50.0110.01315.51
5.5.40.0140.00815.40
5.5.30.0200.00415.37
5.5.20.0110.01115.39
5.5.10.0090.01315.46
5.5.00.0130.00815.29
5.4.450.0110.01012.46
5.4.440.0080.00912.39
5.4.430.0120.00912.52
5.4.420.0090.01012.52
5.4.410.0130.00912.59
5.4.400.0130.00712.39
5.4.390.0160.00512.35
5.4.380.0140.00712.22
5.4.370.0100.01012.33
5.4.360.0120.00712.33
5.4.350.0120.01012.46
5.4.340.0100.00812.27
5.4.330.0140.00512.32
5.4.320.0110.00512.40
5.4.310.0100.01012.42
5.4.300.0080.01112.47
5.4.290.0110.00812.31
5.4.280.0100.00812.40
5.4.270.0160.00312.39
5.4.260.0100.00712.38
5.4.250.0120.00512.54
5.4.240.0110.00612.43
5.4.230.0110.00612.42
5.4.220.0090.00712.22
5.4.210.0070.00912.28
5.4.200.0140.00612.36
5.4.190.0120.00612.24
5.4.180.0140.00312.34
5.4.170.0110.00812.32
5.4.160.0110.00812.19
5.4.150.0140.00712.26
5.4.140.0130.00712.40
5.4.130.0130.00412.46
5.4.120.0100.00812.31
5.4.110.0100.00912.48
5.4.100.0130.00612.34
5.4.90.0180.00412.40
5.4.80.0070.01112.38
5.4.70.0120.00912.42
5.4.60.0120.00612.37
5.4.50.0130.00612.30
5.4.40.0140.00512.33
5.4.30.0130.00612.33
5.4.20.0110.00912.36
5.4.10.0090.01012.34
5.4.00.0070.01112.36
5.3.290.0090.01112.76
5.3.280.0100.00612.69
5.3.270.0070.01212.79
5.3.260.0080.01212.76
5.3.250.0110.00912.79
5.3.240.0060.01512.63
5.3.230.0110.00812.68
5.3.220.0110.00612.69
5.3.210.0110.00912.67
5.3.200.0130.00512.74
5.3.190.0080.01212.85
5.3.180.0100.00912.96
5.3.170.0180.00512.86
5.3.160.0080.01112.93
5.3.150.0130.01112.84
5.3.140.0120.01012.79
5.3.130.0080.01312.81
5.3.120.0120.00712.75
5.3.110.0120.00912.85
5.3.100.0080.01012.79
5.3.90.0110.00812.92
5.3.80.0070.01512.72
5.3.70.0100.01112.67
5.3.60.0130.00812.80
5.3.50.0110.00912.79
5.3.40.0120.01112.69
5.3.30.0160.00812.73
5.3.20.0130.00812.69
5.3.10.0110.01212.46
5.3.00.0110.00912.57
5.2.170.0130.00611.93
5.2.160.0090.00911.83
5.2.150.0160.00411.83
5.2.140.0130.00411.83
5.2.130.0110.00811.83
5.2.120.0110.00711.83
5.2.110.0110.00711.83
5.2.100.0080.00511.90
5.2.90.0130.00311.83
5.2.80.0110.00811.83
5.2.70.0080.00911.83
5.2.60.0080.00911.83
5.2.50.0090.00911.83
5.2.40.0090.00711.83
5.2.30.0100.00611.83
5.2.20.0100.00711.83
5.2.10.0050.01111.83
5.2.00.0080.00911.83
5.1.60.0100.00411.83
5.1.50.0090.00511.83
5.1.40.0090.00611.83
5.1.30.0070.00711.83
5.1.20.0050.01111.83
5.1.10.0080.00811.83
5.1.00.0090.00611.83
5.0.50.0110.00311.83
5.0.40.0030.01211.83
5.0.30.0080.00511.83
5.0.20.0100.00411.83
5.0.10.0020.01111.83
5.0.00.0090.00311.83
4.4.90.0040.00311.83
4.4.80.0050.00311.83
4.4.70.0050.00311.83
4.4.60.0040.00311.83
4.4.50.0050.00211.83
4.4.40.0070.00111.83
4.4.30.0040.00411.83
4.4.20.0050.00411.83
4.4.10.0050.00311.83
4.4.00.0030.00511.83
4.3.110.0060.00211.83
4.3.100.0050.00311.83
4.3.90.0080.00111.83
4.3.80.0070.00211.83
4.3.70.0060.00211.83
4.3.60.0060.00311.83
4.3.50.0050.00211.83
4.3.40.0050.00111.83
4.3.30.0020.00211.83
4.3.20.0050.00011.83
4.3.10.0030.00611.83
4.3.00.0040.00311.83

preferences:
78.81 ms | 400 KiB | 5 Q