3v4l.org

run code in 300+ PHP versions simultaneously
<?php function assertFalse( $expected, $message ) { if ( false !== $value ) { echo $message; return false; } else { return true; } } function assertTrue( $expected, $message ) { if ( true !== $value ) { echo $message; return false; } else { return true; } } $streamable = 1; $streamableS = '1'; var_dump( $streamable ); var_dump( $streamableS );

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.00716.63
8.3.50.0120.00817.31
8.3.40.0120.00818.79
8.3.30.0110.00418.48
8.3.20.0000.00818.51
8.3.10.0030.00620.41
8.3.00.0030.00619.13
8.2.180.0100.00616.32
8.2.170.0000.01522.96
8.2.160.0140.00022.11
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0060.00326.16
8.2.120.0080.00019.89
8.2.110.0060.00320.84
8.2.100.0040.00717.68
8.2.90.0040.00419.05
8.2.80.0000.00817.77
8.2.70.0000.00917.38
8.2.60.0040.00417.93
8.2.50.0060.00318.07
8.2.40.0030.00518.03
8.2.30.0040.00418.04
8.2.20.0040.00417.73
8.2.10.0040.00417.61
8.2.00.0000.00717.50
8.1.280.0120.00625.92
8.1.270.0000.00724.66
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0180.00020.55
8.1.230.0100.00021.04
8.1.220.0040.00417.74
8.1.210.0050.00318.78
8.1.200.0030.00717.23
8.1.190.0040.00417.29
8.1.180.0080.00018.10
8.1.170.0080.00018.84
8.1.160.0040.00418.83
8.1.150.0030.00718.46
8.1.140.0040.00417.39
8.1.130.0000.00817.86
8.1.120.0080.00017.43
8.1.110.0050.00317.38
8.1.100.0070.00017.35
8.1.90.0040.00417.40
8.1.80.0030.00317.29
8.1.70.0070.00017.32
8.1.60.0030.00517.42
8.1.50.0000.00717.45
8.1.40.0000.00817.44
8.1.30.0040.00417.50
8.1.20.0080.00017.55
8.1.10.0040.00417.38
8.1.00.0040.00417.38
8.0.300.0000.00719.85
8.0.290.0070.00016.75
8.0.280.0000.00718.28
8.0.270.0030.00317.13
8.0.260.0030.00316.67
8.0.250.0000.00816.93
8.0.240.0000.00716.83
8.0.230.0050.00216.79
8.0.220.0040.00416.85
8.0.210.0030.00316.70
8.0.200.0000.00716.92
8.0.190.0060.00316.78
8.0.180.0030.00516.71
8.0.170.0060.00316.75
8.0.160.0000.00716.73
8.0.150.0040.00416.78
8.0.140.0080.00416.82
8.0.130.0000.00613.21
8.0.120.0020.00516.79
8.0.110.0070.00016.74
8.0.100.0040.00416.81
8.0.90.0070.00016.68
8.0.80.0030.01316.89
8.0.70.0080.00016.88
8.0.60.0040.00416.95
8.0.50.0040.00416.65
8.0.30.0130.00916.77
8.0.20.0120.00617.07
8.0.10.0000.00717.07
8.0.00.0050.01716.70
7.4.330.0000.00512.94
7.4.320.0000.00816.50
7.4.300.0030.00316.43
7.4.290.0070.00016.43
7.4.280.0030.00616.46
7.4.270.0040.00416.46
7.4.260.0000.00513.26
7.4.250.0030.00616.43
7.4.240.0040.00416.48
7.4.230.0030.00316.48
7.4.220.0110.00716.40
7.4.210.0110.00616.57
7.4.200.0030.00316.35
7.4.190.0070.00016.59
7.4.160.0090.00616.54
7.4.150.0110.00716.42
7.4.140.0100.01116.34
7.4.130.0060.01316.43
7.4.120.0080.01016.43
7.4.110.0130.00716.19
7.4.100.0150.00716.48
7.4.90.0170.00316.59
7.4.80.0070.01016.32
7.4.70.0090.00916.52
7.4.60.0120.00916.36
7.4.50.0000.00616.37
7.4.40.0080.00816.46
7.4.30.0070.01016.45
7.4.00.0070.01014.70
7.3.330.0030.00313.18
7.3.320.0050.00013.00
7.3.310.0070.00016.00
7.3.300.0070.00016.05
7.3.290.0070.01016.15
7.3.280.0060.01016.20
7.3.270.0140.00516.36
7.3.260.0130.00616.25
7.3.250.0080.01216.18
7.3.240.0090.00616.04
7.3.230.0070.01116.34
7.3.210.0150.00316.37
7.3.200.0000.01719.39
7.3.190.0150.00616.38
7.3.180.0120.00416.05
7.3.170.0170.00316.36
7.3.160.0030.01216.43
7.3.120.0090.00614.67
7.2.330.0150.00416.43
7.2.320.0030.01316.50
7.2.310.0110.01016.50
7.2.300.0080.00816.61
7.2.290.0110.00716.68
7.2.60.0040.00816.42
7.2.00.0030.00919.32
7.1.200.0050.00515.45
7.1.100.0040.01117.65
7.1.70.0100.00017.09
7.1.60.0150.01119.40
7.1.50.0040.00716.60
7.1.00.0000.07722.35
7.0.200.0520.00714.63
7.0.140.0000.06722.01
7.0.120.0070.06322.16
7.0.60.0030.06319.87
7.0.50.0100.06317.91
7.0.40.0070.08720.21
7.0.30.0330.05320.08
7.0.20.0400.07020.08
7.0.10.0100.08020.10
7.0.00.0070.09320.29
5.6.280.0030.07321.08
5.6.210.0070.03720.47
5.6.200.0100.04018.18
5.6.190.0030.04320.57
5.6.180.0300.07320.45
5.6.170.0400.07320.54
5.6.160.0100.05720.48
5.6.150.0100.07718.14
5.6.140.0100.04318.16
5.6.130.0070.06318.24
5.6.120.0100.08020.76
5.6.110.0030.06321.04
5.6.100.0030.05021.02
5.6.90.0070.06020.97
5.6.80.0100.03320.38
5.5.350.0170.04720.33
5.5.340.0100.05717.98
5.5.330.0100.07720.49
5.5.320.0300.06020.24
5.5.310.0300.07320.35
5.5.300.0100.06717.99
5.5.290.0070.05017.93
5.5.280.0070.04720.66
5.5.270.0100.08320.67
5.5.260.0030.04020.64
5.5.250.0170.07720.69
5.5.240.0170.04020.27
5.4.450.0000.04319.31
5.4.440.0030.04319.44
5.4.430.0030.03719.39
5.4.420.0070.03319.48
5.4.410.0000.03719.35
5.4.400.0000.03719.10
5.4.390.0000.03718.95
5.4.380.0000.03719.09
5.4.370.0000.03718.88
5.4.360.0000.03719.24
5.4.350.0030.03319.31
5.4.340.0000.03719.09
5.4.320.0030.03719.16
5.4.310.0000.04019.31
5.4.300.0000.03719.06
5.4.290.0070.04719.31
5.4.280.0100.07319.14
5.4.270.0000.08019.08
5.4.260.0000.07318.99
5.4.250.0070.07019.14
5.4.240.0030.04719.25
5.4.230.0070.03319.15
5.4.220.0100.05318.95
5.4.210.0070.07019.14
5.4.200.0030.06319.14
5.4.190.0070.07318.98
5.4.180.0000.06018.94
5.4.170.0030.07719.08
5.4.160.0000.04318.85
5.4.150.0030.07718.85
5.4.140.0030.04316.72
5.4.130.0100.05016.55
5.4.120.0030.04316.39
5.4.110.0070.05716.59
5.4.100.0030.04716.59
5.4.90.0030.06716.59
5.4.80.0070.06716.39
5.4.70.0100.07016.59
5.4.60.0000.07316.39
5.4.50.0030.06316.23
5.4.40.0030.04316.53
5.4.30.0000.04716.44
5.4.20.0070.05716.50
5.4.10.0030.03716.34
5.4.00.0000.07015.81
5.3.290.0030.03314.57
5.3.280.0000.07714.60
5.3.270.0000.04314.82
5.3.260.0070.07314.51
5.3.250.0030.07014.62
5.3.240.0030.03314.50
5.3.230.0030.07314.52
5.3.220.0070.04014.59
5.3.210.0030.04014.54
5.3.200.0100.06314.47
5.3.190.0100.07314.54
5.3.180.0070.05714.46
5.3.170.0030.07314.79
5.3.160.0030.05014.65
5.3.150.0000.08014.57
5.3.140.0030.04714.57
5.3.130.0000.07714.63
5.3.120.0070.08714.55
5.3.110.0000.05714.71
5.3.100.0000.05314.15
5.3.90.0030.04314.01
5.3.80.0070.07314.10
5.3.70.0100.05313.96
5.3.60.0070.06714.08
5.3.50.0070.06713.86
5.3.40.0030.04713.92
5.3.30.0030.05013.83
5.3.20.0000.06713.70
5.3.10.0000.07713.66
5.3.00.0030.06713.58
5.2.170.0030.05711.09
5.2.160.0030.04011.21
5.2.150.0000.06311.37
5.2.140.0000.05711.15
5.2.130.0030.03311.09
5.2.120.0030.04311.11
5.2.110.0100.05311.18
5.2.100.0030.06311.19
5.2.90.0030.04711.09
5.2.80.0070.05311.18
5.2.70.0070.04011.09
5.2.60.0030.05011.09
5.2.50.0030.03711.09
5.2.40.0000.06011.09
5.2.30.0030.06311.09
5.2.20.0070.06011.09
5.2.10.0030.05011.09
5.2.00.0030.03711.09
5.1.60.0070.05011.09
5.1.50.0030.03711.09
5.1.40.0030.05011.09
5.1.30.0030.04011.09
5.1.20.0030.05011.09
5.1.10.0000.05011.09
5.1.00.0030.04311.09
5.0.50.0000.04311.09
5.0.40.0000.04711.09
5.0.30.0030.07311.09
5.0.20.0000.03311.09
5.0.10.0000.04011.09
5.0.00.0000.03711.09
4.4.90.0000.03711.09
4.4.80.0000.02011.09
4.4.70.0000.03011.09
4.4.60.0030.03011.09
4.4.50.0000.03711.09
4.4.40.0000.04311.09
4.4.30.0000.02011.09
4.4.20.0030.02711.09
4.4.10.0000.03311.09
4.4.00.0070.03311.09
4.3.110.0030.03311.09
4.3.100.0000.02711.09
4.3.90.0000.03311.09
4.3.80.0000.05311.09
4.3.70.0030.01711.09
4.3.60.0000.03711.09
4.3.50.0000.02311.09
4.3.40.0030.02311.09
4.3.30.0070.02711.09
4.3.20.0000.03011.09
4.3.10.0030.02011.09
4.3.00.0070.02711.09

preferences:
45.16 ms | 401 KiB | 5 Q